如何使用VS2017编译boost

本文介绍如何使用Visual Studio 2017 RC编译Boost 1.63版本,包括设置编译环境、配置项目参数及执行编译命令等关键步骤。

Based on KindDragons answer I compiled Boost 1.63. For 64bit. Starting with Developer Command Prompt for VS 2017 RC

  1. Run: bootstrap.bat

  2. open project-config.jam Here is mine:

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 ;

  1. Run b2 toolset=msvc-14.0 address-model=64

http://stackoverflow.com/questions/41464356/build-boost-with-msvc-14-1-vs2017-rc

转载于:https://www.cnblogs.com/SmartMing/p/6491836.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值