環境: 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:\Appinstall\boost_1_70_0\VC14.1\x64" threading=multi --build-type=complete --build-dir="D:\Appinstall\boost_1_70_0\build"
5、編譯32位庫
b2.exe stage --toolset=msvc-14.1 address-model=32 --stagedir="D:\Appinstall\boost_1_70_0\VC14.1\x32" threading=multi --build-type=complete --build-dir="D:\Appinstall\boost_1_70_0\build"