CodePudding user response:
This is to write their own makefile, should be quoted glib library, but under a lot of undefined symbolCodePudding user response:
See libglib - 2.0. So in what position then add -l parameter specifies the base directory$ls - l/usr/lib64/libglib - 2.0. So
Shine forth, on October 22, LRWXRWXRWX 1 root root 35/usr/lib64/libglib - 2.0. So - & gt; ./../lib64/libglib - 2.0. So the 0.2200.5
CodePudding user response:
Or simply use the PKG - configGCC ` PKG - config PKG - config -- cflags - libs glib 2.0 ` -o program obj1. O obj2. O