Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-30 11:06:18


hosseinyounesi wrote:
> I used this command:
>
> g++ asio_timer.cpp -L/usr/bin/libboost_thread.so
>
> but it's contains the same error , Am I right in this command?

Try -lboost_thread instead of -L...

This should work, provided that boost has been installed into some default
location. (Check if there is a file called libboost_thread.[a|so] in /usr/lib.)

Markus


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk