[Boost-bugs] [Boost C++ Libraries] #13004: Cannot build boost 1.64 with Visual Studio 2015 command prompt when Visual Studio 2017 is installed

Subject: [Boost-bugs] [Boost C++ Libraries] #13004: Cannot build boost 1.64 with Visual Studio 2015 command prompt when Visual Studio 2017 is installed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-03 13:31:17


#13004: Cannot build boost 1.64 with Visual Studio 2015 command prompt when Visual
Studio 2017 is installed
----------------------------+-----------------------------------------
 Reporter: mgr2000@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.64.0
 Severity: Regression | Keywords: corrupt header make install
----------------------------+-----------------------------------------
 I open a Visual Studio 2015 command prompt and try to build boost. But the
 libraries are no longer called *vc140*.lib, but *vc141*.lib. When building
 my application from my own environment.
 Calling \tools\build\src\engine\guess_toolset.bat manually sets the
 environment variables correctly:
 BOOST_JAM_TOOLSET=vc14
 BOOST_JAM_TOOLSET_ROOT=C:\Program Files (x86)\Microsoft Visual Studio
 14.0\Common7\Tools\..\..\VC\
 Also when I add printing of the precompiler define BOOST_MSVC in some
 source file of boost, it prints 1900, not 1910 correctly on compilation.
 But calling build.bat prints:
 ###
 ### Using 'vc141' toolset.
 ###
 and afterwards the libraries are named vc141, while boost auto_link in my
 project still tries to find them as vc140.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13004>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-05-03 13:35:45 UTC