How to build Boost using Visual Studio

Updated post here:

16 thoughts on “How to build Boost using Visual Studio

  1. toolset is a feature, not an option, so it must not have the leading dashes. I.e. make that toolset=msvc-12.0 rather than --toolset=msvc-12.0. (It worked for you because the toolset was autodetected, the --toolset did nothing.)


  2. In this step : Build Boost using this compile invocation,
    what should I type, if I use windows 8.1 64 bit, Boost 1.57.0 and visual studio 2013?

    Thank you


  3. You might want to mention that the stack-exchange post tells user to compile via msvc-10.0 instead of msvc-12.0. I followed the stack exchange command and came out with the wrong files :/


  4. I tried this from the Developer Command Prompt for VS2013 for boost_1_58_0 and the bootstrap.bat still failed because it couldn’t find windows.h. Is there something wrong with boost_1_58_0 or could my Visual Studio VS13 not e configured correctly


  5. Great post. I used the Visual C++ 2015 Build Tools to compile it and got an error to say ucrtbased.dll was missing. When I initially installed the Build Tools I didn’t include the Windows 10 SDK. Re-running the Build Tools setup and including the Windows 10 SDK did the trick.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.