Centos7 编译安装boost

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Angus_Sun/article/details/81030533

1.从boost官网下载boost的压缩包(boost_1_67_0.tar.gz)

2.解压 tar -zxvf boost_1_67_0.tar.gz

3.环境检测  ./bootstrap.sh

4.编译  ./b2 --without-python stage debug5.头文件和lib的拷贝,我并没有放到系统目录    cp -rf boost ./include    cp -rf stage/lib/* ./lib

猜你喜欢

转载自blog.csdn.net/Angus_Sun/article/details/81030533