LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-1_45.lib'

无人久伴 提交于 2019-12-23 18:34:20

问题


I am getting this error when i tried to build/compile the code is VS2008 C++. the weird thing is i installed boost 1.46.1 but i get this error for boost 1.45.

LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-1_45.lib' i tried looking on different sources. But unfortunately unable to solve it yet. although i included all the paths for libraries and include files.

Please any guidence in this regard will be highly appreciated.

Many Thanks.

Muhammad


回答1:


This is nothing to do with what you have installed (or not). What is happening is that VC++ expects this library but cannot find it. Check your "included libraries" in your project settings. Perhaps this project is supposed to use the 1.45 version.




回答2:


I've also spent quite some time looking for the solution for this. In my case it was a simple preprocessor definition BOOST_ALL_NO_LIB, which implies you don't need the lib.

If that's not your case, you should probably use bjam.



来源:https://stackoverflow.com/questions/6548883/link-fatal-error-lnk1104-cannot-open-file-libboost-system-vc90-mt-1-45-lib

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