Boost logo

Boost Users :

Subject: [Boost-users] Building Boost 1.62 With Visual Studio 2017 RC
From: Trueman, Chris (ctrueman_at_[hidden])
Date: 2016-11-24 03:40:39


I built both x86 and x64 flavours of Boost 1.62 with Visual Studio 2017 RC using this approach:

 

1.       Boostrap from a shell configured using the x86 vcvars or x64 vcvars.

2.       Update the project-config.jam to include:
using msvc : 15.0 : <path to x86 or x64 cl.exe>

 

I had to make a small change to the auto_link.hpp:

 

# elif defined (BOOST_MSVC) && (BOOST_MSVC < 1910)

 

                // vc14:

 

#  define BOOST_LIB_TOOLSET “vc140”

 

# elif defined (BOOST_MSVC)

 

                // vc15:

 

#  define BOOST_LIB_TOOLSET “vc150”

 

Issues for me:

 

·         I failed to update the MSVC toolset detection in tools/build/src/tools/msvc.jam (hence fixing the version in project-config.jam)

·         For the x64 build, passing address-model=64 on the b2 command line didn’t work so I had to delete bin.v2 and stage folders between the x86 and x64 builds.

 

 

 

Chris.


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then destroy it.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net