Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-23 08:05:33


Raja <raja_at_[hidden]> writes:

> Does using thread classes from boost need additional library files other than
> header files ?

Yes.

> I am getting the following error when I use the thread class:
>
> /usr/include/c++/3.2.3/bits/stl_heap.h:188: undefined reference to
> `boost::thread::thread[in-charge](boost::function0<void,
> std::allocator<boost::function_base> > const&)'
>
> I also see 'libboost_thread-gcc-mt-d-1_31.so.1.3.0' library under
> boost/bin/...
> Does this have to be used ?

Something like that. See
http://www.boost.org/more/getting_started.html

> Thanks in advance
>
> Raja

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net