On Tue, 10 Mar 2020 22:23:28 GMT, Kendell Fab wrote:
Thanks everyone for your feedback. I did forget to mention that I am on Arch Linux for this.
There is gtkd in the repos. I have installed it. And I still get a linker error:
I am a believer in using the platform packages for GtkD whenever possible. I am guessing Arch will be at least as up to date as Debian Sid.
/usr/bin/ld: restscope@exe/sourceviewsappwindow.d.o:(.data.rel.ro+0x140): undefined reference to `D3gsv10SourceView12_ModuleInfoZ'
It seems that the object files aren't being added by the link command. But I'm not familiar enough with meson to track down the details like that yet.
I have seen this sort of problem when the version of GtkD and D used have been mixed. The usual solution has been to do a complete clean of the build and start from scratch.
I use ldc rather than dmd as the D compiler, ldc is provided as packages in Debian. However it is critically important that GtkD was compiled with the same ldc as being used to build the application.