Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO: Problem with building boost 1.53 ASIO examples under cygwin
From: douli (doulilos_at_[hidden])
Date: 2013-06-04 11:46:55


Hi,

I spent whole day reading your f**king posts (when searching on google), and
feeling as much alone as you seemed !

I found the solution at home :
compile boost with
./bootstrap -prefix=/usr/local/
./bjam cxxflags="-D__USE_W32_SOCKETS -D_WIN32_WINNT=0x0501"
./bjam install

And compile my program with
g++-4.exe -I/usr/local/include -Wall -o client.exe client.cc
-L/usr/local/lib -llibboost_regex -llibboost_system -llibboost_thread
-llibboost_date_time -llibboost_serialization -D__USE_W32_SOCKETS -lws2_32
-lwsock32

This solved my problem Yipiiii !

--
View this message in context: http://boost.2283326.n4.nabble.com/ASIO-Problem-with-building-boost-1-53-ASIO-examples-under-cygwin-tp4644854p4648266.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net