I copied the "Hello world" code from the website of the GTK project and pasted it into Vim with the environment to develop in C properly configured with coc-clangd. However, several errors are shown in the
#include <gtk/gtk.h>
But when I send compile with the command:
gcc `pkg-config --cflags gtk+-3.0` -o hello-world-gtk hello-world-gtk.c `pkg-config --libs gtk+-3.0`
it works perfectly I tried to add
`pkg-config --cflags gtk+-3.0`
in
clangd.fallbackFlags
in :CocConfig
but it didn't work.