Can't run the example



Hi, guys,
 
I just installed GTK+-2.2.2 and libraries including atk-1.2.4, glib-2.2.2 and pango-1.2.3, but when I was trying to compile an example which is included in the zip file, it gave me errors like:
 
gcc menu.c -o menu -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 'pkg-config gtk+-2.0 --cflags --libs'
/bin/sh: pkg-config: command not found
In file included from /usr/include/gdk/gdktypes.h:33,
                      from /usr/include/gdk/gdk.h: 31,
                      from /usr/include/gtk/gtk.h:31,
                      from menu.c:3:
/usr/include/glib.h:66: glibconfig.h : No such file or directory
make: ***[menu] Error 1
 
Is there anybody can help me out there?
 
Thanks man.
 
Jane
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]