Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-08-04 10:59:30


> 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.

John.


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