fatal error: gtk/gtk.h: No such file or directory
#include <gtk/gtk.h>
^~~~~~~~~~~
compilation terminated.
I kept getting this error even though I am sure GTK4.0 is installed through MSYS2mingw64. In case you are wondering my launch.json and task.json all have the neccessary file path included. I just don't get it why is it not running?
I saw this fix: gcc -o test test.c 'pkg-config --cflags gtk+-4.0' 'pkg-config --libs gtk+-4.0'
But got this error instead: gcc.exe: error: pkg-config --cflags gtk+-4.0: No such file or directory gcc.exe: error: pkg-config --libs gtk+-4.0: No such file or directory
Can someone advise pls?