Hi,
I am trying to compile the boost thread that I found here:
http://www-eleves-isia.cma.fr/documentation/BoostDoc/boost_1_29_0/libs/threa...
But i get the following error:
Can you please tell me what do i need to do to fix it?
./thread.o: In function `main':../thread.cpp:27: undefined reference
to `boost::thread::thread(boost::function0boost::function_base > const&)'
:../thread.cpp:28: undefined reference to `boost::thread::join()'
:../thread.cpp:28: undefined reference to `boost::thread::~thread()'
:../thread.cpp:28: undefined reference to `boost::thread::~thread()'
./thread.o: In function `thread_alarm::operator()()':../thread.cpp:11:
undefined reference to `boost::xtime_get(boost::xtime*, int)'
:../thread.cpp:14: undefined reference to
`boost::thread::sleep(boost::xtime const&)'
collect2: ld returned 1 exit status
make: *** [sandbox] Error 1
make: Target `all' not remade because of errors.
Build complete for project sandbox