
4 Aug
2005
4 Aug
'05
3:59 p.m.
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.