Thank you sir!
Chip Collier wrote:
>> Hello,
>>
>> I'm trying to statically link to Boost.Python from the
>> Boost-consulting binary distribution.
>> No matter what I try I'm either getting the furiously annoying error
>> message "mixing dll with a static runtime is a bad idea", or in the
>> other situations I'm being told that boost_python-vc80-mt-1_35.lib
>> can't be found, which is not what I want to link with in the first
>> place hence I didn't install DLL versions of boost.
>> All I want to do is statically link to boost.python. Is there some
>> voodoo I could perform? If I define BOOST_PYTHON_NO_LIB and try
>> to link with libboost_python_vc80-mt(-s)-1_35.lib I get unresolved
>> externals for calls using __declspec(dllimport).
As I understand it the python library expects to perform dll-linking by
default, defining BOOST_PYTHON_STATIC_LIB when building your application
should do the trick.
HTH, John.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users