Closed Bolpat closed 5 years ago
It looks like a problem with your D setup. How did you install DMD, and what version is it?
Installed DMD32 D Compiler v2.080.0 via Windows installer on dlang.org main page (http://downloads.dlang.org/releases/2.x/2.080.0/dmd-2.080.0.exe
).
Sorry, I can't reproduce this with 2.080.0.
You could try reinstalling D, clearing the Dub cache, building with -m32mscoff or -m64, or trying on a fresh Windows VM or user account.
Also having linker error, but different.
Linking...
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
..\..\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\.dub\build\application-debug-windows-x86-dmd_2080-51770A5309DE90312F678A3ADE80772B\digger.obj(digger)
Error 42: Symbol Undefined __D3std4conv16testEmplaceChunkFNaNbNiNfAvkkZv
..\..\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\.dub\build\application-debug-windows-x86-dmd_2080-51770A5309DE90312F678A3ADE80772B\digger.obj(digger)
Error 42: Symbol Undefined __D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv
..\..\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\.dub\build\application-debug-windows-x86-dmd_2080-51770A5309DE90312F678A3ADE80772B\digger.obj(digger)
Error 42: Symbol Undefined __D3std6random6rndGenFNcNdNiNfZSQBdQBc__T21MersenneTwisterEngineTkVki32Vki624Vki397Vki31Vki256748C927A0D23AD0EB3CD00E0EA89B59355F
..\..\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\.dub\build\application-debug-windows-x86-dmd_2080-51770A5309DE90312F678A3ADE80772B\digger.obj(digger)
Error 42: Symbol Undefined __D3std4path11expandTildeFNbNfAyaZQe
Error: linker exited with status 4
When I'm trying to build with --arch=x86_64 os --arch=x86_mscoff, it gives me another error:
Linking...
C:\D\dmd2\windows\bin\lld-link.exe: error: could not open libcmt.lib: no such file or directory
C:\D\dmd2\windows\bin\lld-link.exe: error: could not open OLDNAMES.lib: no such file or directory
Error: linker exited with status 1
Upd: Reinstalling dmd really did help!
How are you building, dub or rdmd? Whichever it is, try the other one. Also please specify D version. Have you tried -allinst
as mentioned in the readme?
When I'm trying to build with --arch=x86_64 os --arch=x86_mscoff, it gives me another error:
That's because MS libraries aren't set up for you.
I built digger via dub build digger with dmd 2.080.0 I reinstalled from the same installer I already had in Downloads and it began working.
I get this linker error:
when performing the Dlang bot's recommendation
I checked other issues, #37 made me try using
-debug
, but it didn't help.