LNK1181: cannot open input file 'boost_python.lib' in windows, boost_1_68_0

此生再无相见时 提交于 2019-12-11 17:32:55

问题


I downloaded and built boost_1_68_0 (bootstrap and b2) with VS 14 on Windows 10. I verified the build by running bjam in the lib\regex\example folder, which ran without error.

When I try to do the same thing in the lib\python\example folder I get this error for each link: LNK1181: cannot open input file 'boost_python.lib'

I verified that the boost_python.lib variants (libboost_python36-vc140-mt-gd-x32-1_68.lib, libboost_python36-vc140-mt-x32-1_68.lib, and x64 versions) are in the F:\Dev\Boost\boost_1_68_0\stage\lib path and that this path is set in LIB of msvc-setup.bat.

Normally I wouldn't worry about this and would just build from the IDE, but the boost documentation made me worry that I'd run into trouble if I didn't use bjam....

来源:https://stackoverflow.com/questions/53329565/lnk1181-cannot-open-input-file-boost-python-lib-in-windows-boost-1-68-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!