0
链接Boost.Python的我已经通过的MinGW,建立了LIB Boost.Python的LIB 2档:不能使用MinGW
- libboost_python-mgw45-MT-1_46_1.a
- libboost_python-mgw45,MT- d-1_46_1.a
但我不能链接这些库在我的测试程序。和其他组件如正则表达式工作正常。我不知道如何解决这个问题。
我的用户config.jam中:
using python
: 2.7
: F:\\Programs\\Python\\python # cmd-or-prefix
: F:\\Programs\\Python\\include
: F:\\Programs\\Python\\lib
: <toolset>gcC# condition
;
和构建命令: 的bjam工具集= GCC --with-python的
我的环境:
- 蟒蛇2.7
- mingw 4.5.1
- boost 1.46.1
- 操作系统:windows xp
希望我解释清楚我的问题,我不是英语母语的人。 任何建议将不胜感激。
It works.Thank.I have been tortured by this for several hours ... – ShirenY 2011-03-22 16:54:16