Windows上Boost的编译步骤
Windows上Boost的编译步骤
一、翻墙下载Boost最新版本
假设解压到:D:\Applicaton\DevTools\boost\boost_1_65_1
二、使用VS编译器
cd 到D:\Applicaton\DevTools\boost\boost_1_65_1 目录
三、运行:bootstrap.bat
四、运行:b2 toolset=msvc-14.0 –build-type=complete –with-python python=3.5
–abbreviate-paths address-model=64 install -j4
五、设置环境变量:
set BOOST_LIBRARYDIR=D:\Applicaton\DevTools\boost\boost_1_65_1\stage\lib
set BOOST_INCLUDEDIR=D:\Applicaton\DevTools\boost\boost_1_65_1
set BOOST_ROOT=D:\Applicaton\DevTools\boost\boost_1_65_1
set PATH=%PATH%;%BOOST_ROOT%;%BOOST_LIBRARYDIR%
Windows上Boost的编译步骤
https://www.dearcloud.cn/2017/09/13/20200310-cnblogs-old-posts/20170913-Windows上Boost的编译步骤/