Use compiled Boost library with Visual Studio 2010

ⅰ亾dé卋堺 提交于 2019-12-11 04:53:50

问题


I try to use compiled Boost library (FileSystem) with Visual Studio. So, I add the boost lib directory in :

Project Properties > Linker > Additional Library Directories

The problem is Visual Studio try to add a prefix lib :

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

But the real name of the lib is simply boost_filesystem-vc100-mt-gd-1_51.lib

How to disable the prefix before the lib name ?

Thank you !


回答1:


It wasn't a problem of a prefix. To fix that I just launched the BoostPro installer and installed all the debug lib.



来源:https://stackoverflow.com/questions/13380597/use-compiled-boost-library-with-visual-studio-2010

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