What about boost UUID? http://www.boost.org/doc/libs/1_47_0/libs/uuid/uuid.html
alex On Sat, Sep 24, 2011 at 11:41 AM, Jens Geyer <jensge...@hotmail.com> wrote: > > Thank you, > > that's indeed a good idea (although it seems that it is not part of the last > stable package). > > JensG > > > > > > -------------------------------------------------- > From: "Davanum Srinivas" <dava...@gmail.com> > Sent: Friday, September 23, 2011 9:28 PM > To: <dev@thrift.apache.org> > Subject: Re: Generating UUIDs > >> JensG, >> >> One option is to look at uuid support in APR >> (http://svn.apache.org/viewvc/apr/apr/trunk/crypto/) >> >> -- dims >> >> On Fri, Sep 23, 2011 at 2:36 PM, Jens Geyer <jensge...@hotmail.com> wrote: >>> >>> Hi, >>> >>> I need the possibility to generate some GUIDs / UUIDs within Thrift >>> compiler. Unfortunately MinGW seems not to contain the necessary lib and >>> header files, or I just haven't looked at the right place. After some >>> trying >>> and two hours googling around and looking through different approaches I >>> found a package which allows the usage of libuuid.a and uuid.h also under >>> MinGW. >>> >>> http://sourceforge.net/projects/libuuidmingw/ >>> >>> Although this solution would work perfectly, there's a problem: This >>> piece >>> of software is GPLv3. >>> >>> Does anybody know of another (better) solution to use uuid.h/libuuid with >>> MinGW? Particularly, I need to call uuid_generate() and uuid_unparse(). >>> >>> Any help would be appreciated, >>> many thanks, >>> JensG >>> >>> >>> >>> >> >> >> >> -- >> Davanum Srinivas :: http://davanum.wordpress.com >> >