|
Make sure you have installed a compiler such as gcc, if it is installed, make sure the header file contains glib.h
gcc filename.c `pkg-config --libs --cflags glib-2.0`
When using some libraries, gcc needs to specify the header file path and the library to be connected |
|