How to build Boost using Visual Studio

Updated post here: https://codeyarns.github.io/tech/2014-06-06-how-to-build-boost-using-visual-studio.html

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.)

    Like

  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

    Like

  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 :/

    Like

  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

    Like

  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.

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.