TIONG YONGTAANG wrote:
Hello,
I have some experience in programming with C and
recently want to write some GUI program using GTK+. I'm using Mandrake 9.0 and have installed GTK+2.0 on
my machine (i believe). The problem is when I try to
compile a sample program that use GTK+ widgets, I get
an error message saying that the header file
gtk/gtk.h. I have look around and see if I could find
some help in FAQ section but couldn't fine any.
http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html You also may want to search in this maillist.
The package I tried to install are gtk+2.0-2.0.7-3mdk.i586.rpm
gtk+-2.0.7 has a bug in gif image loader, consider gtk+-2.0.8. By the way its better to keep "devel" with the same version (you are using 2.0.7 and 2.0.6)
libgtk+2.0_0-devel-2.0.6-8mdk.i586.rpm
I even try to compile from source that I obtained from
LinuxFormat magazine. Are those the right package to
install?
I prefer to download the sources from: http://gtk.org/download/
Anyone help me here? P/S: When i type gtk-config, the console display command not found.
'gtk-config' is for gtk+-1.2. Gtk+-2.0 uses 'pkg-config' instead of gtk-config. Its more general tool (glib, atk, pango and almost all gnome2 stuff uses it). Try 'pkg-config --cflags --libs gtk+-2.0' and read the manual about it. Olexiy _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
