Cannot build Boost with Visual Studio 2017

爱⌒轻易说出口 提交于 2020-01-17 03:49:26

问题


I downloaded Boost 1.63.0 and tried building it with my newly installed Visual Studio 2017 but there is no way it works! It compiles with the Visual Studio 2015 compiler instead.

Let me be more clear. I have both Visual Studio 2015 Update 3 and Visual Studio 2017 installed in my laptop. I open a command prompt with the environment set for the 2017 compiler (which is version 15.0).

Then I execute:

b2 --layout=versioned --with-chrono

but it uses version 14.0 (toolset=msvc-14.0) instead of version 15.0...

Thanks! Juan Dent

来源:https://stackoverflow.com/questions/42682141/cannot-build-boost-with-visual-studio-2017

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