[Issue 19760] Windows 10 -m64 completely broken, can't compile/run hello world
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 25 02:19:45 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19760
--- Comment #1 from Jonathan Marler <johnnymarler at gmail.com> ---
I manually fixed the issue on my laptop by reading this thread:
https://www.faqforge.com/windows/fix-the-program-cant-start-because-msvcr100-dll-is-missing-from-your-computer-error-on-windows/
It had me download and install this:
https://www.microsoft.com/en-us/download/details.aspx?id=14632
So...the problem is that the DMD installation includes:
dmd2\windows\lib64\mingw\msvcrt100.lib
However, the msvcrt100.dll isn't necessarilly installed on the host system.
So...dmd and/or lld-link should not be linking against ".lib" files when their
".dll" counterparts are not installed on the system.
DMD should not be providing msvcrt100.lib to lld-link unless the dll is
installed. The correct full solution may involve changes to both dmd and
lld-link (LLVM's linker).
--
More information about the Digitalmars-d-bugs
mailing list