美文网首页
用VS 2017编译Boost

用VS 2017编译Boost

作者: 第二不及 | 来源:发表于2017-04-10 23:01 被阅读0次

准备工作

安装vs 2017 rc,下载 boost 1.6.3版本

过程

1. 打开developer command prompt for VS 2017 RC

2. cd 至解压缩后boost的主目录

3. 运行 bootstrap.bat

4. 编辑 project-config.jam, 指定msvc 的路径,例如:

import option ;

using msvc : 14.0 : "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\bin\HostX64\x64\cl.exe";

option.set keep-going : false ;

5. 继续运行  

b2 toolset=msvc-14.0 address-model=64

相关文章

网友评论

      本文标题:用VS 2017编译Boost

      本文链接:https://www.haomeiwen.com/subject/xkgeattx.html