DMD Linker Issue on Windows

Kai not.my at email.com
Thu Oct 18 00:24:29 UTC 2018


On Wednesday, 17 October 2018 at 17:44:34 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 17 October 2018 at 17:37:37 UTC, Kai wrote:
>> I just ran into this linker issue (see answer below that I 
>> grabbed from the vibe.d forum) as well - where can I ask/track 
>> about the progress on this issue?
>
> Do you have the new dmd installed? Using the x86_64 should work 
> now if all goes well.


Hmm - wish it was so. When architecture not specified, the linker 
crashes. When it's given, this happens (seems to be a vibe 
issue?):

D:\projects\d2\apitest\hello>dub -a x86_64
Performing "debug" build using C:\D2\dmd2\windows\bin\dmd.exe for 
x86_64.
taggedalgebraic 0.10.11: target for configuration "library" is up 
to date.
eventcore 0.8.36: target for configuration "winapi" is up to date.
stdx-allocator 2.77.4: target for configuration "library" is up 
to date.
vibe-core 1.4.3: target for configuration "winapi" is up to date.
vibe-d:utils 0.8.4: target for configuration "library" is up to 
date.
vibe-d:data 0.8.4: target for configuration "library" is up to 
date.
mir-linux-kernel 1.0.1: target for configuration "library" is up 
to date.
vibe-d:crypto 0.8.4: target for configuration "library" is up to 
date.
diet-ng 1.5.0: target for configuration "library" is up to date.
vibe-d:stream 0.8.4: target for configuration "library" is up to 
date.
vibe-d:textfilter 0.8.4: target for configuration "library" is up 
to date.
vibe-d:inet 0.8.4: target for configuration "library" is up to 
date.
vibe-d:tls 0.8.4: target for configuration "openssl-mscoff" is up 
to date.
vibe-d:http 0.8.4: target for configuration "library" is up to 
date.
vibe-d:mail 0.8.4: target for configuration "library" is up to 
date.
vibe-d:mongodb 0.8.4: target for configuration "library" is up to 
date.
vibe-d:redis 0.8.4: target for configuration "library" is up to 
date.
vibe-d:web 0.8.4: target for configuration "library" is up to 
date.
vibe-d 0.8.4: target for configuration "vibe-core" is up to date.
hello ~master: building configuration "application"...
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>


More information about the Digitalmars-d mailing list