GtkD : Compilation Error

John Colvin john.loughran.colvin at gmail.com
Tue Jul 30 09:07:11 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?

Generally speaking you need to compile everything with the same 
compiler.

Hopefully in the future interoperability will become more 
feasible, but until the language is completely stable it will be 
hard to do.


More information about the digitalmars-d-ldc mailing list