Visual Studio 2013 (vs120) asks for wrong boost libraries

非 Y 不嫁゛ 提交于 2019-11-29 05:49:12
Svalorzen

This post thankfully solves my question. I wasn't able to find it before. The solution is to edit the boost/config/auto_link.hpp because the code inside is not able to handle vc120, and ends up suggesting vc110

How do I specify, which version of boost library to link to?

The library name is autogenerated in the boost header version.hpp

Possibly the version wasn't rebuilt, or you are pointing at the wrong header version?

Instead of patching the config file try just defining a macro before the header inclusion .. this is what I did in my project

//#define BOOST_LIB_TOOLSET "vc100" //#include

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