I just installed glib in Raspbian(Debian version). I want to read a config file using glib. I am trying to write a C application in Codeblocks and I use the header
Use pkg-config.
pkg-config
gcc `pkg-config --cflags glib-2.0` foo.c `pkg-config --libs glib-2.0`