Where is my 'gtk.h' ?



Ok...  I am pretty new to GTK programming.  I was a former Mandrake 8
user where I programmed using KDE.

On the weekend I moved across to RH9 and decided to give the Gnome
enviroment a go and give programming with Gnome/Gtk at try.

Seeing that I installed RH9 with it's base of Gnome - I assume the Gtk
library would have installed and all the necessary files which I'd need
to program using GTK.

When I compile a very simple script with 'gcc' I get an error saying
that it can't find 'gtk.h'

I have it in the include statement as #include <gtk/gtk.h>.

I have conducted a 'find' for gtk.h and found it in
/usr/include/gtk-2.0/gtk

I even updated my PATH variable in '.bashrc' to include this directory
e.g: export PATH=$PATH:/usr/include/gtk-2.0/gtk

Where am I going wrong ??

Cheers
Pete Moscatt





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