I already created boost.python lib by mingw, got two lib files:
- libboost_python-mgw45-mt-1_46_1.a
- libboost_python-mgw45-t-d-1_46_1.a
But I can not link these libraries in my test programs. And other components like regex work fine. I do not know how to solve this.
my user-config.jam:
using python : 2.7 : F:\\Programs\\Python\\python # cmd-or-prefix : F:\\Programs\\Python\\include : F:\\Programs\\Python\\lib : <toolset>gcc # condition ;
and build command: bjam toolset = gcc --with-python
My enviroment:
- python 2.7
- mingw 4.5.1
- boost 1.46.1
- OS: windows xp
I hope I clearly explained my problem, I am not a native speaker of English. Any advice would be appreciated.
source share