使用编译Boost库使用Visual Studio 2010(Use compiled Boost

2019-10-17 09:49发布

我试图与Visual Studio使用编译Boost库(文件系统)。 所以,我加入了升压lib目录:

项目属性>链接>附加库目录

问题是Visual Studio中尝试添加一个前缀lib目录下:

fatal error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_51.lib'

但LIB的真正名称就是boost_filesystem-VC100-MT-GD-1_51.lib

如何禁用的lib名称前的前缀?

谢谢 !

Answer 1:

这不是一个前缀的问题。 为了解决这个问题我刚刚推出的BoostPro安装程序并安装了所有的调试库。



文章来源: Use compiled Boost library with Visual Studio 2010