error while compiling

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

 



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)
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux