On 05/22/2015 02:26 AM, Chris wrote:

So I install the brand new version of DMD, unpack the brand new GtkD, open a shell and type, as per the Wiki, rdmd Build.c

What happens? Some build magic? No, I'm presented with: "Error: undefined identifier executeShell"

From the errors it looks like you are using a fairly old version of dmd.
What does dmd -v tell you?

After poking around for a while I change the executeshell call to system, and try it again:

......

Also I built GtkD on FreeBSD with LDC, when I go to link the program I get this:

/home//gtkd/srcgl/glgtk/GLCapability.d(79): Deprecation: function gtk.Widget.Widget.addOnDraw is deprecated
/home//gtkd/libgtkdgl-3.a(glgdk.o):(.bss+0xb0): multiple definition of c_gdk_gl_context_get_current'<br>/home//gtkd/libgtkd-3.a(gdk.o):(.bss+0x648): first defined here<br>/home//gtkd/libgtkdgl-3.a(glgdk.o):(.bss+0xa0): multiple definition of cgdkglcontextgettype'<br>/home//gtkd/libgtkd-3.a(gdk.o):(.bss+0x638): first defined here<br>/home//gtkd/libgtkdgl-3.a(glgdk.o):(.bss+0xf0): multiple definition of `cgdkglcontextmakecurrent'
/home//gtkd/libgtkd-3.a(gdk.o):(.bss+0x688): first defined here
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Error: /home//ldc/build/bin/gcc failed with status: 1

I'll have to check these.