[Issue 14849] Visual Studio 2015 not detected during installation
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Nov 5 07:28:35 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14849
--- Comment #14 from Răzvan Ștefănescu <rumbu at rumbu.ro> ---
(In reply to Rainer Schuetze from comment #13)
> >UCRTVersion=10.0.10150.0
> >UMVersion=10.0.10075.0
> >[...]
> >LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UMVersion%\um\x86"
> >LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\ucrt\x86"
>
> I don't see UMVersion being set by vcvarsall.bat. The installer just mimicks
> what is done by this batch.
>
> Is UMVersion set by installing the Windows 10 SDK? (I have only 8.1
> installed).
The UCRT version is detected during the installation:
https://github.com/D-Programming-Language/installer/blob/master/windows/d2-installer.nsi#L382
by assuming that the last SDK update contains both "um" and "ucrt" folders:
StrCpy $UCRTVersion $1 ; hoping the directory is retrieved in ascending
order (done by NTFS)
In reality, at least on my system, I have:
%UniversalCRTSdkDir%\Lib\10.0.10075.0\ucrt\
%UniversalCRTSdkDir%\Lib\10.0.10075.0\um\
and only
%UniversalCRTSdkDir%\Lib\10.0.10150.0\ucrt\
In my opinion, the installer mus
--
More information about the Digitalmars-d-bugs
mailing list