Boost logo

Boost :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-08-04 15:46:29


John Maddock wrote:
>> I'm using a Jamfile to link against the thread library and from the
>> error message below it seems that there is a mismatch between what
>> autolink expects (libboost_thread-vc71-mt-gd-1_33.lib) and what is
>> actually compiled (boost_thread-vc71-mt-gd-1_33.lib). Does this ring
>> a bell or should I prepare a minimal example that demonstrates the
>> behavior?
>
> Based on the error, autolink is looking for a static library, but you
> appear to want to link against the dll version, try defining
> BOOST_ALL_DYN_LINK
> when building to force autolink to look for the dll import library,
> and to ensure that the thread lib is correctly mangled with
> __declspec(dllimport) etc.

Ouch, my bad. What got me confused was that this works fine under 1.32
without the define BOOST_ALL_DYN_LINK. I guess it does because 1.32 only
supports the dll variant of thread. 1.33 apparently now supports static
and dynamic variants again...

Thanks!

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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