boost 库是c++标准库的拓展,很实用。
赶紧提升C++技能。
因为有个游戏安装需要下载boost库,查阅晚上相关文档,这么好的库应该极大地发扬光大才是啊。
官网http://www.boost.org/
下载地址
https://sourceforge.net/projects/boost/files/boost/1.63.0/
访问有点慢的话访问百度网盘下载。
https://pan.baidu.com/s/1bpKPKsf
安装,可以看到非常简单,还提供学习网站。
指导手册
file:///home/wang/Downloads/boost_1_63_0/more/getting_started/unix-variants.html#build-a-simple-program-using-boost
也可以指定安装目录,具体查询--help解决。
./bootstrap.sh --prefix=/usr
./b2 install
wang@wang:~/Downloads/boost_1_63_0$ ./bootstrap.sh
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...