I a have C file where the
where when I execute it via terminal:
I get the errorCode:gcc test.c -o test
fatal error: glib-object.h: No such file or directory
I also triedThe headers of the C fileCode:gcc -O2 $(pkg-config --cflags glib-2.0) -o test test.c $(pkg-config --libs glib-2.0)
Code:#include <stdlib.h> #include <stdio.h> #include <glib-object.h> #include <json-glib/json-glib.h>
Bookmarks