https://www.gtk.org/docs/getting-started/hello-world/
say on my Ubuntu LTS :
$ gcc $(pkg-config --cflags gtk4) -o hello-world-gtk hello-world-gtk.c $(pkg-config --libs gtk4)
hello-world-gtk.c: In function ‘main’:
hello-world-gtk.c:34:49: error: ‘G_APPLICATION_DEFAULT_FLAGS’ undeclared (first use in this function); did you mean ‘G_APPLICATION_GET_CLASS’?
34 | app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| G_APPLICATION_GET_CLASS
hello-world-gtk.c:34:49: note: each undeclared identifier is reported only once for each function it appears in