I installed Visual Studio 2017 and toolsets v140
and v141
. To work with v140
toolset, I need to set the necessary environment via vc
The problem line is
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.16 10.0.18362.0
I just went to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
and found vcvars64.bat
.
After studying it, I modified it like this
REM @call "%~dp0vcvarsall.bat" x64 %*
@call "%~dp0vcvarsall.bat" x64
getting rid of the offending 14.16 10.0.18362.0
parameter. It worked. No messing up with the register.