From: Michael D. <mi...@mi...> - 2008-06-13 16:12:50
|
For cygwin (I believe MinGW) as well, you need to add "-mthreads" to your CPPFLAGS and LDFLAGS (compile and link commands) for the Boost.Thread library (Boost.ASIO uses it for certain things). You might want to try that out too. Take care, -Mike On Jun 12, 2008, at 11:15 PM, Dean Michael C. Berris wrote: > Hi Allister! > >> -----Original Message----- >> From: cpp...@li... >> [mailto:cpp...@li...] On >> Behalf Of Allister Levi Sanchez >> Sent: Friday, June 13, 2008 1:41 PM >> To: C++ Networking Library Developers Mailing List >> Subject: [cpp-netlib-devel] cpp-netlib on vista + MinGW >> >> Hi, >> >> I tried to build cpp-netlib (http_integration branch) on >> Windows Vista (MinGW compiler) as follows: bjam --toolset=gcc debug >> >> The build failed however because I don't have the pthread >> library. I see that one might be able to use the >> pthreads-win32 (http://sourceware.org/pthreads-win32/) but it >> seems rather dated. I'm guessing someone else has met this >> issue already. Could you tell me what's the best way to deal >> with this? >> > > I personally have not yet tried building in Windows using MinGW > though, > but if you can get the pthreads library that comes with MinGW or > Cygwin, > that might bring you farther. Right now though I don't think cpp- > netlib > explicitly requires threading, but Boost.Asio might -- in this case > you > might have better mileage by trying to build a minimal application > using > Boost.Asio first before trying to build with MinGW. > > Others might have other ideas too. :) > > -- > Dean Michael Berris > Software Engineer, Friendster, Inc. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > |