Boost Library Install and Test

First download the boost libarary file (e.g. boost_1_57_0.zip) and unzip it into the directory C:\boost_1_55_0

From windows cmd, type

cd C:\boost_1_55_0

then

bootstrap.bat

then

.\b2 install --prefix=build

After about half an hour, the library is built under the directory C:\boost_1_55_0\build, under which, there are two file folders .\include\boost-1_55 and .\lib

Now we test the boost library.

First, from visual studio, we generate an empty console project. Add main.cpp (similar to the following link).

Note the set is as follows: