Last active
January 10, 2019 02:11
-
-
Save gitsrc/05f830adeaf9ae8b32a3cd08da04f1a3 to your computer and use it in GitHub Desktop.
安装boost库
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Download Boost Library: http://www.boost.org (Choose the expected version) | |
``` | |
wget https://cfhcable.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.gz | |
wget https://phoenixnap.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.gz | |
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz | |
wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz | |
wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz | |
wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz | |
``` | |
### Unzip, Bootstrap and Install | |
``` | |
tar -xzf boost_1_* | |
cd boost_1_* | |
./bootstrap.sh --prefix=/opt/boost | |
./b2 install --prefix=/opt/boost --with=all | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment