« Return to Thread: Posix Thread

Re: Posix Thread

by hosseinyounesi :: Rate this Message:

Reply to Author | View in Thread

Fixed :0
Thank you  
Markus Schöpflin wrote:
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: Posix Thread