On Sun, 30 Sep 2018 15:36:00 GMT, David Orchard wrote:
I have just tried gdc-6. It crashed out with a load of compiler errors. ldc2 gets further but I think it is struggling with the limited resources. I will keep plugging away at this.
By default dub builds all the source files together in one go. But the Pi can't cope. Compiling with 'dub build --build-mode=singleFile' gets the objects to build but the link fails with:
Separate linking not supported for ldc
I can link the objects manually using ldc but I am not sure what the name and location of the output file should be to keep dub happy. I assume its should be gtkd-3 something in the same directory as the objects.
I need this so dub will move on to build the other output files.
Can anyone help.
This is the only thread when searching raspberry in the forum. I needed to use gtk-d with rp3, and here is how I did it simply without having to build gtkd.
sudo apt-get install libgtkd-3-dev
add those in dub.json of your test app: