September 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=14866

--
September 01, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=14843

--
October 27, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |r.sagitario@gmx.de
         Resolution|---                         |FIXED

--- Comment #11 from Rainer Schuetze <r.sagitario@gmx.de> ---
fixed in dmd 2.069

--
November 04, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

Răzvan Ștefănescu <rumbu@rumbu.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #12 from Răzvan Ștefănescu <rumbu@rumbu.ro> ---
UM path is incorrect

UCRTVersion=10.0.10150.0
[...]
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\um\x86" (wrong)
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\ucrt\x86"


The correct approach is:

UCRTVersion=10.0.10150.0
UMVersion=10.0.10075.0
[...]
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UMVersion%\um\x86"
LIB=%LIB%;"%UniversalCRTSdkDir%\Lib\%UCRTVersion%\ucrt\x86"


Same for x64.

--
November 04, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

--- Comment #13 from Rainer Schuetze <r.sagitario@gmx.de> ---
>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).

--
November 05, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

--- Comment #14 from Răzvan Ștefănescu <rumbu@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

--
November 05, 2015
https://issues.dlang.org/show_bug.cgi?id=14849

--- Comment #15 from Rainer Schuetze <r.sagitario@gmx.de> ---
You are right, these folders are not always the same. The VC command line will fail with these installations, too.

I've now also seen an installation where the DDK installed into the same lib/include folders, into a subdirectory "wpf" IIRC. This cmpletely ruined vcvarsall.bat.

--
March 27, 2018
https://issues.dlang.org/show_bug.cgi?id=14849

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |greensunny12@gmail.com
         Resolution|---                         |FIXED

--- Comment #16 from Seb <greensunny12@gmail.com> ---
Closing as fixed as AFAIK this has been fixed for a long time now and there have been many tweaks to the detection since.

If this problem still exists, please reopen or open a new issue. Thanks!

--
1 2
Next ›   Last »