gtk+ compile



Dear all,
Here I am trying to run a simple GUI program using Gtk+..
I am getting error as follows:  

linux:~ # gcc base.c -o base 'pkg-config --cflags --libs gtk+-2.0'
gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory
base.c:1:21: gtk/gtk.h: No such file or directory
base.c: In function `main':
base.c:6: error: `GtkWidget' undeclared (first use in this function)
base.c:6: error: (Each undeclared identifier is reported only once
base.c:6: error: for each function it appears in.)
base.c:6: error: `window' undeclared (first use in this function)
base.c:10: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this
function)
 

Thank you very much in advance..

Regards
JivanDear all,
Here I am trying to run a simple GUI program using Gtk+..
I am getting error as follows:  

linux:~ # gcc base.c -o base 'pkg-config --cflags --libs gtk+-2.0'
gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory
base.c:1:21: gtk/gtk.h: No such file or directory
base.c: In function `main':
base.c:6: error: `GtkWidget' undeclared (first use in this function)
base.c:6: error: (Each undeclared identifier is reported only once
base.c:6: error: for each function it appears in.)
base.c:6: error: `window' undeclared (first use in this function)
base.c:10: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this
function)
 

Thank you very much in advance..

Regards
Jivan
-- 
View this message in context: http://www.nabble.com/gtk%2B-compile-tf3921352.html#a11118812
Sent from the Gtk+ - Dev - General mailing list archive at Nabble.com.




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