On Wed, 24 Mar 2021 09:43:39 GMT, ltree wrote:

How to use gtkd on debian?

I recommend using DUB in your projects that you develop/run on Debian. It will properly build and link your application. This is at least what I do even though Fedora supplies GtkD for a long time.

https://github.com/gtkd-developers/GtkD/wiki/Hello-World-Example-on-Ubuntu-19.10-(Linux) works on Debian too, and it is super-simple (DUB configuration is embedded into the D code!).