dlib 0.19.1 seems to be failing linking with ldc2
jeff thompson
jeff.thompson.sd at gmail.com
Fri Jul 31 14:17:14 UTC 2020
Hello
Im using dlib 0.19.1 with a project and compiling with ldc2 1.22
its failing with the error below. This works fine with the latest
dmd version. My targetType is a static lib, only other
dependencies are latest bindbc-glfw and bindbc-gl
Performing "debug" build using ldc2.exe for x86_64.
dlib ~master: target for configuration "library" is up to date.
sandbox ~master: building configuration "application"...
Linking...
dlib.lib(dlib.audio.io.wav.obj) : error LNK2019: unresolved
external symbol
_D4core8internal7switch___T14__switch_errorZQrFNaNbNiNfAyamZv
referenced in function
_D3std6format__T10printFloatTfTaZQrFNaNfNkAafSQBsQBr__T10FormatSpecTaZQpEQCtQCs12RoundingModeZQCa
dlib.lib(dlib.filesystem.local.obj) : error LNK2001: unresolved
external symbol
_D4core8internal7switch___T14__switch_errorZQrFNaNbNiNfAyamZv
.dub\build\application-debug-windows-x86_64-ldc_2092-316AB5B187D20C1F6AFBA496E604908D\test.exe : fatal error LNK1120: 1 unresolved externals
Anyone else seeing this?
More information about the Digitalmars-d-learn
mailing list