环境:
系统:Win7 64
vs:2015
Boost:1.62
Boost下载:这里 (boost_1_62_0.7z ,2016-09-28, 71.9 MB)
进入cmd(不要选错):
进入boost根目录路径执行命令:
.\bootstrap.bat
.\b2.exe -j5 link=static runtime-link=static --stagedir=".\lib\vc14_32" --build-type=complete address-model=32
注意这里生成的是MTd和MT。MD的话runtime-link=shared。
如果需要编译Win64 : "address-model"
生成路径:"--stagedir"