Srini Amble wrote:
I am trying to make use of timers as provided in "glib" (g_timer_create, g_timer_start, etc). In my source file I have included "glib.h". But compilation fails because "glibconfig.h" could not be found. I am using RH 7.3 on my host machine. Any helpful pointer is very much appreciated.

Your CFLAGS needs to include `/usr/bin/glib-config --cflags`, and your LIBS needs to include `/usr/bin/glib-config --libs`.


Glib 2.0 and the other GTK+ 2.0 and better libraries use pkg-config instead, but in general there will be a config program that will give you the CFLAGS and LIBS that you need to compile any GTK+ or GNOME program. Check out the GNOME autoconf docs for more information on how this all fits together.




-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to