解决方法:
win+r打开cmd窗口,进入编译目录,执行
bjam stage --toolset=msvc-14.1 --stagedir="D:\boost_1_65_1" link=shared runtime-link=shared threading=multi debug release
bjam stage --toolset=msvc-14.1 --stagedir="D:\boost_1_65_1" link=static runtime-link=static threading=multi debug release
说明:
不同toolset版本只需更改版本就行,比如msvc-14.1的14.1改为其他版本,如9.0
目录如果编译的时候没有指定目录可以不需要指定
线程类型根据自己实际情况指定