Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-15 05:52:06


"John Maddock" <john_at_[hidden]> writes:

>> undefined reference to
>> `boost::thread::thread[in-charge](boost::function0<void,
>> std::allocator<boost::function_base> > const&)'
>>
>> I'm linking against libboost_thread-gcc-mt-p-1_31 and
>> libboost_date_time-gcc-mt-p-1_31.
>>
>> I can't see an obvious solution so I'm hoping someone
>> has solved this problem already.
>
> If you see std:: in the error message then that program has probably not
> been built with STLPort (which actually uses it's own namespace),

Don't forget that STLPort has two modes. If you don't build with
<stlport-iostream>on I'm pretty sure that everything goes in
namespace std::.

See http://www.boost.org/tools/build/v1/msvc-stlport-tools.html

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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk