boost库安装编译指南

来源:互联网 发布:有关群智能算法的问题 编辑:程序博客网 时间:2024/06/04 18:21
1.
打开“适用于 VS 2017 的 x64 本机工具命令提示”
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat
2.
执行.\bootstrap.bat生成bjam.exe,b2.exe
3.
.\b2.exe install --debug-building --prefix="D:\Program Files\boost_1_65_1" --build-type=complete toolset=msvc-14.1 variant=debug link=shared runtime-link=shared threading=multi address-model=64 


.\b2.exe install --debug-building --prefix="D:\Program Files\boost_1_65_1" --build-type=complete toolset=msvc-14.1 variant=debug link=static runtime-link=static threading=multi address-model=64