Thanks Mike,

On Thu, 19 Apr 2018 19:02:23 +0200, Mike Wey wrote:

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`

When I use the commands like you mentioned, I still get the error messages by the linker:

dmd hello.d -I/usr/include/d/gtkd-3/ -L-L/usr/lib64/ -L-lgtkd-3 -L-ldl
hello.o: In Funktion »_Dmain«:
hello.d:(.text._Dmain[_Dmain]+0x15): Warnung: undefinierter Verweis auf »_D3gtk4MainQf4initFKAAyaZv«
hello.d:(.text._Dmain[_Dmain]+0x1c): Warnung: undefinierter Verweis auf »_D3gtk10MainWindowQm7__ClassZ«
hello.d:(.text._Dmain[_Dmain]+0x3d): Warnung: undefinierter Verweis auf »_D3gtk10MainWindowQm6__ctorMFAyaZCQBgQBfQBi«
hello.d:(.text._Dmain[_Dmain]+0x5f): Warnung: undefinierter Verweis auf »_D3gtk5LabelQg7__ClassZ«
hello.d:(.text._Dmain[_Dmain]+0x7f): Warnung: undefinierter Verweis auf »_D3gtk5LabelQg6__ctorMFAyabZCQBbQBaQBd«
hello.d:(.text._Dmain[_Dmain]+0xa3): Warnung: undefinierter Verweis auf »_D3gtk4MainQf3runFZv«
collect2: error: ld returned 1 exit status
Error: linker exited with status 1

GTK libraries and development files are installed, but something is still missing.

Sorry if my questions are too stupid, but I'm new with D as well as with GTK3... ;-)