1. 官网下载boost 版本:http://www.boost.org/
2. 解压下载后的版本文件
3. 在解压后的文件中找到:bootstrap.bat文件,并双击运行脚本bootstrap.bat
4. 打开VS Developer Command Prompt命令行,切换目录到解压后的目录中
5. 运行.\b2即启动编译,整个过程持续3-5个小时。
完成!
以下为参考链接。
参考:
https://blog.csdn.net/lm_is_dc/article/details/81191207
https://www.cnblogs.com/qinwanlin/p/boost.html
https://www.jianshu.com/p/9b7f68ab0f89
https://blog.csdn.net/u011501388/article/details/83142164
http://www.codebelief.com/article/2017/06/boost-python-to-combine-cpp-and-python/