Cannot Link Boost.python With Mingw
I have already build boost.python lib by mingw,Got two lib files: libboost_python-mgw45-mt-1_46_1.a libboost_python-mgw45-mt-d-1_46_1.a But I cant link these libs in my test prog
Solution 1:
I don't know why (and I never really cared enough to dig for the reason), but Boost.Python refuses to link statically on Windows. This is easily solved, though — just rebuild it as a DLL (bjam toolset=gcc --with-python link=shared
).
Post a Comment for "Cannot Link Boost.python With Mingw"