On Friday, 10 August 2018 at 12:15:55 UTC, Ivan Kazmenko wrote:
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.
Did you have a look at the wiki ? It looks like the image shows
what needs to be installed:
https://wiki.dlang.org/Installing_DMD#Installing_the_Microsoft_toolchain