[Issue 17384] LDC x64 linker error in VS2017

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 8 11:54:24 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17384

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #1 from kinke at gmx.net ---
The problem is with PATH. The mspdb* DLLs seem to be available for the 2 native
linkers (x86 => x86, x64 => x64) only, so for 64-bit targets, it should be
`...\bin\HostX64\x64` (the linker being able to use > 3 GB memory being a nice
side effect). The WinSDK dir for PATH should most likely also be x64 instead of
the current x86 one.

[By clearing VSINSTALLDIR, LDC takes care of setting up the environment and
that's why it works (1.3 at least, 1.2 doesn't support VS 2017).]

--


More information about the Digitalmars-d-bugs mailing list