GtkD : Compilation Error
Kai Nacke
kai at redstar.de
Sun Aug 4 22:08:47 PDT 2013
On Tuesday, 30 July 2013 at 10:51:42 UTC, Chris wrote:
> Why do I get a list of errors like this one:
>
> /usr/local/lib/libgtkdsv-2.a(SourceCompletionProposalIF.o): In
> function
> `_D3std5array17__T8AppenderTAyaZ8Appender12__T3putTAyaZ3putMFAyaZv':
> srcsv/gsv/SourceCompletionProposalIF.d:(.text._D3std5array17__T8AppenderTAyaZ8Appender12__T3putTAyaZ3putMFAyaZv+0x5a):
> undefined reference to `_D3std5array7__arrayZ'
>
> Libs are linked. Import paths are passed. DMD works fine. It's
> only ldc2 that produces this. Would I have to recompile GtkD
> with LDC?
Yes. In druntime there are some important differences between DMD
and LDC, e.g. the vararg interface or memory stuff. Unfortunately
you can't expect interoperability at the binary level right now.
Kai
More information about the digitalmars-d-ldc
mailing list