About Using Boost.Python in msvc9 with /MTd and /MT Runtime Libraries
10 May
2010
10 May
'10
5:40 p.m.
After a quick look at the documentation and user list messages I have found that using Boost.Python with msvc MTd or MT Runtime Libraries may have some problems. My first try with Boost.Python gave me this error: c:\work\src\boost_1_43_0\boost/config/auto_link.hpp(297) : fatal error C1189: #error : "Mixing a dll boost library with a static runtime is a really bad idea..." Then I found that it was possible to use the BOOST_PYTHON_STATIC_LIB macro. This worked fine. I am using python 3.1, I have installed both the x86 and x64 python versions in different directories. Can someone explain me why I need to specify this macro and why "Mixing a dll boost library with a static runtime is a really bad idea"? Regards, Isaac Lascasas.
5298
Age (days ago)
5298
Last active (days ago)
0 comments
1 participants
participants (1)
-
Isaac Lascasas