I am using
VS 2019 version 16.20 preview 4.0 (current)
I:\boost\libs\hello_boost\example>b2 -v
B2 Version 4.0. OS=NT.
Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
Copyright 2001 David Turner.
Copyright 2001-2004 David Abrahams.
Copyright 2002-2019 Rene Rivera.
Copyright 2003-2015 Vladimir Prus.
DEFAULTS: jobs = 16
I am using a jamfile and a .bat file that has worked before, but working on nearly current GIT develop.
But something seems to have changed so that clang-win no longer works, failing at the link.
I:\boost\libs\hello_boost\example>b2 -j16 toolset=clang-win-8.0.0 address-model=64 architecture=x86 release
warning: Did not find command for MSVC toolset. If you have Visual Studio 2017 installed you will need to specify the full path to the command, set VS150COMNTOOLS for your installation, or build from the 'Visual Studio Command Prompt for VS 2017'.
(I have ignored these warnings without trouble before).
Output of the link is:
Performing configuration checks
- default address-model : 32-bit (cached)
- default architecture : x86 (cached)
- symlinks supported : yes (cached)
- BOOST_COMP_GNUC >= 4.3.0 : no (cached)
...patience...
...found 2277 targets...
...updating 11 targets...
clang-win.link.dll ..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll
msvc.manifest.dll ..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll
'"C:\\Program Files (x86)\\Windows Kits\\10\\bin\x64\mt.exe"' is not recognized as an internal or external command,
operable program or batch file.
if exist "..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll.manifest" (
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\x64\mt.exe" -nologo -manifest "..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll.manifest" "-outputresource:..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll;2"
)
...failed msvc.manifest.dll ..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.dll ..\..\..\bin.v2\libs\system\build\clang-win-8.0.0\release\address-model-64\threading-multi\boost_system-clangw8-mt-x64-1_71.lib...
Briefly:
Clang 8.0.0 compiles all OK, but fails to link missing right version of mt.exe
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\x64\mt.exe"
is missing the specification of the sub-folder
currently \10.0.17763.0
should be using
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\mt.exe"
What have I done to mess this up?
Paul
Paul A. Bristow
Prizet Farmhouse
Kendal, Cumbria
LA8 8AB UK