On Wednesday, 6 February 2019 at 08:37:29 UTC, Rainer Schuetze wrote:

On 05/02/2019 11:53, Andre Pany wrote:
[...]

I think this happens because the Windows SDK is detected, but VC is not. As the replacement import libraries for both are in the dmd\windows\lib64\mingw folder, adding it to the library search path would be causing some bad mixture of libraries.

VC is probably no longer detected because recent versions of the VS installations do not write an expected registry key, but assume the COM API to be used for detection (as added by https://github.com/dlang/dmd/pull/9243).

So pedantically, this is not a regression in dmd, but a changed environment. You should still be able to link when running the vcvarsall.bat to setup the VS/VC environment variables.

In my case I want to use LLD for D. I had to install the Build Tools for Python Development and this broke D (2.084.0). The mentioned errors occurs.

Kind regards
Andre

Reply via email to