Monthly Archives: March 2015

Building Boost 1.57 with Visual Studio 2013 and Visual C++

Download Boost 1.57 from boost.org.
Open a developer command prompt from VS 2013.
First, launch bootstrap to build the compilation tool.
D:\dev\TFS\boost_1_57_0>bootstrap.bat
Second, launch this command:
D:\dev\TFS\boost_1_57_0> bjam toolset=msvc-12.0 variant=debug,release threading=multi link=shared
It will build Boost using the msvc compiling toolchain for debug and release configuration as a multi threaded shared library step.
The result is:
../..
…updated 1171 targets…

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

D:/dev/TFS/boost_1_57_0

The following directory should be added to linker library paths:

D:\dev\TFS\boost_1_57_0\stage\lib

Advertisements