I have compiled boost, and now want to use it in my python app but I am having 
trouble with autolink.hpp in my c++ files.

C:\source\esys13>cl /Fo.sconf_temp\conftest_4.obj /c .sconf_temp\conftest_4.cpp 
/TP /nologo
/IC:\python26\include "/IC: \source\boost_1_41_0"
conftest_4.cpp
C:\source\boost_1_41_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..."

I haven't done any linking at this point - I am just trying to compile.

Here is my test file.

.sconf_temp\conftest_4.cpp:
    #include "boost/python.hpp"

Yep - just the include and thats it.

VS2008, and python 2.6

Any ideas what I am doing wrong?

Terry Rankine
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to