Vertexwahn Vertexwahn - 10 months ago 110
C++ Question

How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)

I like to build boost 1.58.0 using the (new) Visual Studio 2015 (Enterprise). In the past I proceeded in the following way:

  1. Download boost 1.58.0 from

  2. Extract files (e.g. “C:\thirdparty\vs2013\x64\boost_1_58_0”)

  3. Start Visual Studio 2013 x64 command prompt (“VS2013 x64 Native Tools Command Prompt“)

  4. Change to boost directory (e.g. “cd C:\thirdparty\vs2013\x64\boost_1_58_0”)

  5. Execute .\bootstrap.bat

  6. Execute b2 -j8 --toolset=msvc-14.0 address-model=64 --build-type=complete stage

  7. b2 -j8 --toolset=msvc-12.0 address-model=64 --build-type=complete stage --with-python

But in VS2015 there is not VS2015 command prompt.

Also the
is missing that I used sometimes to setup a VS2013 command prompt.

How can I compile the source code of boost using VS2015?

Answer Source

I Tried to install Qt and I had the same issue: vcvarsall.bat was missing. In my case the problem was that I unchecked The Visual C++ Common Tools.

I modified my VS 2015 installation and added the missing feature Common Tools for Visual C++ 2015:

enter image description here

After the modification, the File is in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC