How to build Boost 1.59 with Visual Studio 2015 command prompt

To build Boost libraries, you need a command line : MSBuild Command Prompt for VS2015.

First you must build Boost.Build using booststrap.bat.

Then you need to run : bjam toolset=msvc-14.0 variant=debug,release threading=multi link=shared

The result is:

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

C:\Dev\cpp\boost_1_59_0

The following directory should be added to linker library paths:

C:\Dev\cpp\boost_1_59_0\stage\lib

Advertisement

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 )

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

%d bloggers like this: