Hi gtk team I am really new in Linux, I am using redhat 7.3 and KDE 3.0 , I installed the gtk2.0 even I had it before, I read http://www.gtk.org/ (1) and http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html (2) as tutorials. When I do
$ pkg-config --cflags gtk--2.0 , like in (2) I got the same results even some of them in different order. When I do $ pkg-config --libs gtk--2.0, I get -lgtk-x11-2.0 -lgdk-x11.2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpangoxft-1.0 -lpango-1.0 -lgob.ject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 which is different, I guess this is the problem, but I can not find the way to change it??? running the example base.c in http://www.gtk.org/tutorial/ch-gettingstarted.html I got base.c: In function 'main': base.c:7: 'GtkWidgt' undeclared (first use in this function) base.c:7: (Each undeclared identifier is reported only once base.c:7: for each function it appears in.) base.c:7: 'window' undeclared (first use in this function) when I run helloworld in http://www.gtk.org/tutorial/sec-compiling.html, I got nothing just returns the prompt, including -v in gcc, I can read many processes the only warning is : ignoring nonexistent directory "/usr/i386-redhat-linux/include". It is really taking me a lot of time, please help. thanks in advance Greg ----- Tu correo gratis en MixMail http://www.mixmail.com Ya.com ADSL, Router 3Com �Gratis! http://acceso.ya.com/adsl _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
