On 21-07-17 01:36, Alan Turvey wrote:
Thank you. I added another library and I am getting closer. Now I am seeing this, at which I can't even guess...
[~/d/GtkD-3.6.5/demos/gl/simple] $ dmd SimpleGL.d -I~/d/GtkD-3.6.5/generated/gtkd -I~/d/GtkD-3.6.5/generated/gtkdgl -L-L~/d/GtkD-3.6.5/ -L-lglgdk-3 -L-lGL -L-ldl /home/alan/d/GtkD-3.6.5/generated/gtkdgl/glgtk/GLCapability.d(93): Error: variable simpleGL.SimpleGL.SimpleGL.GLCapability!().drawFrame.cr default construction is disabled for type Scoped /home/alan/d/GtkD-3.6.5/generated/gtkdgl/glgtk/GLCapability.d(94): Error: struct std.typecons.scoped!(Context).Scoped is not copyable because it is annotated with @disable
Fixed in git:
https://github.com/gtkd-developers/GtkD/commit/39145d5159ff0100c720c83ae35f5abc7fafab78
The Simple demo uses the gtkglext3 binding, gtkglext3 is currently
unmaintained and binaries are usually not available in the package
repositories.
If you are using the demos as a starting point, you are better of using
the gl/core demo. That use gtk.GLArea witch is actually part of gtk.