« Return to Thread: Posix Thread

Re: Posix Thread

by hosseinyounesi :: Rate this Message:

Reply to Author | View in Thread

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?


Markus Schöpflin wrote:
hosseinyounesi wrote:

> Hi , this is the first time I post a message on this forum. I tried to
> compile the thread example in the site with g++ and got this error :(  
> What should I do ?

[...]

You need to link with the Boost.Thread library.

Markus

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

 « Return to Thread: Posix Thread