On 19-04-18 16:11, Marc wrote:

Hello,

I'm taking my first steps with D and Gtkd and tried to compile the hello world example from https://sites.google.com/site/gtkdtutorial, but when I try to compile the code, I get an linker error:

dmd -U/usr/include/d/gtkd-3 hello.d

Any ideas?

You will need to link with the GtkD library.

dmd hello.d -I/usr/include/d/gtkd-3 -L-lgtkd-3 -L-ldl

or you could use pkg-config:

dmd hello.d `pkg-config --cflags --libs gtkd-3`