Am 17.10.2018 um 23:07 schrieb K. P.:

Hi - vibe newbie here. Can someone shine some light on what's going wrong here and how to fix it.

Using current DMD, current DUB on Win 10.

Thanks for any help!

(...)
D:\projects\d2\apitest\hello>dub -a x86_64
(...)
Linking...
C:\D2\dmd2\windows\bin\lld-link.exe: error: could not open libcmt.lib: no such file or directory
C:\D2\dmd2\windows\bin\lld-link.exe: error: could not open OLDNAMES.lib: no such file or directory
Error: linker exited with status 1
C:\D2\dmd2\windows\bin\dmd.exe failed with exit code 1.

D:\projects\d2\apitest\hello>

It's using the LLD linker, which was added recently as an experimental
alternative to the Microsoft linker. I haven't tried it yet, so I'm not
sure how well it works, but you could try to build with -a x86_mscoff
to see if 32-bit builts work properly.

Alternatively, you'd have to go the classic path and install the C++
tools of VisualStudio (community edition). DMD should then automatically
pick up the Microsoft linker. LDC2 also works as an alternative on Windows.