boost::VS2017下编译和配置boost库

环境: win10  vs2017  v141

1、下载  boost_1_70_0.zip.

2、以管理员方式打开

3、 bootstrap.bat

4、编译64位库

b2.exe stage --toolset=msvc-14.1 address-model=64 --stagedir="D:Appinstalloost_1_70_0VC14.1x64" threading=multi --build-type=complete --build-dir="D:Appinstalloost_1_70_0uild"

5、编译32位库

b2.exe stage --toolset=msvc-14.1 address-model=32 --stagedir="D:Appinstalloost_1_70_0VC14.1x32" threading=multi --build-type=complete --build-dir="D:Appinstalloost_1_70_0uild"

原文地址:https://www.cnblogs.com/osbreak/p/11063442.html