dmd64 on Windows: how?

Ivan Kazmenko gassa at mail.ru
Fri Aug 10 12:15:55 UTC 2018


Hi,

How should I set up DMD to be able to `dmd -m64` on Windows 
nowadays?

I usually download the 7z, but it broke when I replaced my Visual 
Studio with 2017 edition.

Now, I tried the current 2.081.1 .exe installer.  It didn't 
propose any additional 64-bit related options.  After the 
installation, `dmd -m64` complains that the linker could not find 
`libcmt.lib`.

The previous time I tried finding the right `libcmt` and treating 
the subsequent errors, I failed to locate all the correct 
libraries in Microsoft's Visual Studio and SDKs.  This time, I'd 
rather follow some up-to-date guide than waste the time again.

So, what's the most current guide to make 64-bit linking work on 
Windows?  I'm fine with having to install more LLVM or MinGW or 
Microsoft stuff, I just don't seem to know what I need.

Ivan Kazmenko.



More information about the Digitalmars-d-learn mailing list