Opened 5 years ago

#13004 new Bugs

Cannot build boost 1.64 with Visual Studio 2015 command prompt when Visual Studio 2017 is installed

Reported by: mgr2000@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.64.0 Severity: Regression
Keywords: corrupt header make install Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.