Friday, May 10, 2013

Compiling and Installing Boost 1.53

Referenced from Cufflinks – Get started.



Step 1 – Download Boost from Boost Website

Step 2 – Unpack the boost
# tar -zxvf boost_1_53_0.tar.gz

Step 3 – Run Bootstrap.sh
# ./bootstrap.sh
Building Boost.Build engine with toolset gcc...
.....

Step 4 – Run the binary b2
# ./b2 install --prefix=/usr/local/boost
It will take a while……

Step 5: Test that the compilation is working.
Compile the test case.
# cd $BOOST_ROOT/boost_1_53_0/tools/build/v2/example/hello

# $BOOST_ROOT/b2
You should see a binary file “hello” at
# $BOOST_ROOT/boost_1_53_0/tools/build/v2/example/hello/bin/gcc-4.4.6/debug

For more information, see Compiling and Installing Boost 1.53

No comments: