|
Boost Users : |
Subject: Re: [Boost-users] Can't compile boost::asio
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-08 16:12:01
AMDG
Konstantin V. Pleshakov wrote:
> Ð ÑообÑении Ð¾Ñ 8 маÑÑа 2010 23:28:05 авÑÐ¾Ñ Daniel V напиÑал:
>
>> I'm trying to compile the client example found in
>> http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/tutorial/tutdaytim
>> e1/src.html(boost::asio tutorials), but I get the following errors:
>>
>> g++ -o dist/Debug/GNU-MacOSX/socketclient build/Debug/GNU-MacOSX/main.o
>>
>>
> use these flags: -lboost_system -lboost_iostreams -lboost_thread -lboost_regex
>
I don't think you need all of those. -lboost_system should be enough.
In Christ,
Steven Watanabe
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