error while compiling



see i installed it by unzipping it and the went to the directory using terminal and gave ./configure and the gave make it got installed successfully as given in the manual and then when i compiled the sample prorgam given in the tutorial i got the error msgs

gcc base.c -o base 'gtk-config -cflags -libs'gcc: '
this is how i compiled and the msgs i got
- Hide quoted text -

gtk-config: No such file or directory
gcc: unrecognized option '-cflags'
base.c:1:21: error: gtk/gtk.h: No such file or directory
base.c: In function 'main':
base.c:5: error: 'GtkWidget' undeclared (first use in this function)
base.c:5: error: (Each undeclared identifier is reported only once
base.c:5: error: for each function it appears in.)
base.c:5: error: 'window' undeclared (first use in this function)
base.c:7: error: 'GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)


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