Boost 1.61 was recently released (May 2016) and can be downloaded from http://www.boost.org/users/history/version_1_61_0.html.
This guide will build Boost for 32-bit and 64-bit architectures in a single click. Scripts for the impatient are available at GitHub (https://github.com/Studiofreya/boost-build-scripts).
Other Boost and Visual Studio versions:
– Building Boost 1.62 with Visual Studio 2015
– Building Boost 1.60 with Visual Studio 2015
– Building Boost 1.58 with Visual Studio 2015
Here is a quick howto for Windows and Visual Studio 2015.
1) Download and extract either the .7z or .zip archive.
2) Create a file named
build_boost_1_61_vs2015.bat in the same folder as the directory named
boost_1_61_0 with contents like this:
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" x86 set cores=%NUMBER_OF_PROCESSORS% echo Building boost with %cores% cores cd boost_1_61_0 call bootstrap.bat rem Most libraries can be static libs b2 -j%cores% toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/x64 b2 -j%cores% toolset=msvc-14.0 address-model=32 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32 pause
build_boost_1_61_vs2015.bat file and wait until it finishes.
The rest of the guide will have pictures mention the previous version of Boost, but it should be Boost 1.61.
There are several ways to include Boost library 1.61 in Visual Studio 2015.