Results 1 to 1 of 1
Hi All,
I am trying to use boost libraries in my program.
I already installed the libraries.
when i compiled it's showing error like bellow
g++ -o second boostThread.cpp -L/user/lib/libboost_thread-mt.so
...
- 01-20-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 9
Plz help me out,boost problem
Hi All,
I am trying to use boost libraries in my program.
I already installed the libraries.
when i compiled it's showing error like bellow
g++ -o second boostThread.cpp -L/user/lib/libboost_thread-mt.so
/tmp/ccLrbfvL.o: In function `main':
boostThread.cpp
.text+0xeb): undefined reference to `boost::thread::thread(boost::function0<void, std::allocator<boost::function_base> > const&)'
boostThread.cpp
.text+0x101): undefined reference to `boost::thread::join()'
collect2: ld returned 1 exit status
plz plz any one help me out .
Thanks in advance
Bijay Panda.


Reply With Quote