I installed boost library. Everything is going OK without multithreading. How do i compile this test program ?
#include #inc
You need to link with the Boost thread library as well:
g++ -I/home/user/boost/include testc.cpp -L/home/user/boost/lib -lboost_thread
(Assuming the libraries are in /home/user/boost/lib.)
/home/user/boost/lib