unresolved external symbol _d_throwc

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Jan 17 23:53:35 PST 2016


Hi Chris,

On 18 Jan 2016, at 7:11, Chris via digitalmars-d-ldc wrote:
> gtkdgl.lib(GLConfig_42_2e9.obj) : error LNK2019: unresolved external 
> symbol _d_throwc referenced in function (mangled name) 
> (glgdk.GLConfig.GLConfig 
> glgdk.GLConfig.GLConfig.__ctor(gtkglc.glgdktypes.GdkGLConfigMode, 
> gtkglc.glgdktypes.GdkGLConfigMode))
> gtkdgl.lib(GLContext_43_378.obj) : error LNK2001: unresolved external 
> symbol _d_throwc
> gtkdgl.lib(GLWindow_71_30b.obj) : error LNK2001: unresolved external 
> symbol _d_throwc

_d_throwc is a symbol from DMD's druntime implementation. This means 
that you are most likely trying to link code compiled with LDC against 
code compiled with DMD (gtkdgl.lib). Since the two compilers are not 
ABI-compatible, this is not supported.

  — David


More information about the digitalmars-d-ldc mailing list