[英]Boost.Python not the .lib
我认为我已经正确构建了它。 我还有其他的Boost库正在工作。 我收到以下错误
错误: SNK1104无法打开文件'boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION-vc141-mt-x32-1_67.lib'。
我在使用Visual Studios并带有Boost 1.67的Windows上
众所周知, boost-python
很难安装。 从源代码构建时,请确保指定with-python
。 像这样:
下载并配置Boost
cd boost_1_55_0\tools\build\v2\engine
build.bat mingw
将此添加到您的路径
C:\boost_1_55_0\tools\build\v2\engine\bin.ntx86
从源代码构建
bjam toolset=gcc --with-python link=shared
将此添加到您的路径
C:\boost_1_55_0\stage\lib
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.