Use compiled Boost library with Visual Studio 2010

2019-08-03 04:55发布

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条回答
Root(大扎)
2楼-- · 2019-08-03 05:13

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

查看更多
登录 后发表回答