链接:致命错误 LNK1104:无法打开文件“libboost_system-vc90-mt-1_45.lib”
当我尝试构建/编译代码为 VS2008 C++ 时,出现此错误。奇怪的是我安装了 boost 1.46.1 但我在 boost 1.45 时收到此错误。
链接:致命错误 LNK1104:无法打开文件“libboost_system-vc90-mt-1_45.lib” 我尝试寻找不同的来源。但遗憾的是目前还无法解决。尽管我包含了库和包含文件的所有路径。
请在这方面提供任何指导,我们将不胜感激。
非常感谢。
穆罕默德
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也花了相当长的时间寻找解决方案。就我而言,它是一个简单的预处理器定义
BOOST_ALL_NO_LIB
,这意味着您不需要该库。如果这不是您的情况,您可能应该使用
bjam
。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
.这与您安装(或未安装)的内容无关。发生的情况是 VC++ 需要这个库但找不到它。检查项目设置中的“包含的库”。也许这个项目
应该
使用1.45版本。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.