On Friday, 29 January 2016 at 18:27:50 UTC, Tofu Ninja wrote:
where link.exeC:\D\dmd2\windows\bin\link.exe
-m64 needs a different link.exe. It uses the Microsoft linker so you've gotta be sure that one is installed and the path of the VS bin is in there too.
The dmd install exe will do all this for you, but then you need to remember to run the "D2 64 bit command prompt" so the PATH is set rather than just any cmd.