help with setting up GTK on Suse



Hello
I have Suse Enterprise Desktop 10 running and have installed GTK under KDE.

when I run my program it includes 
#include <gtk/gtk.h>
which is in 
opt/..foo.../gtk-2.0/gtk

now the problem is when I compile

gcc -gtk1.c -o gtk1 'pkg-config -cflags -libs gtk-2.0'
the first error is 
gtk/gtk.h no such file or directory

my understanding is that the PATH variable has to be set so I used
export PATH=$PATH:/..foo./gtk-2.0/gtk
from console 
but the errors are still there
I tried hardcoding the directory into the gtk.h file
and I got several more errors
a screen load of them

can anyone help

Many Thanks
Michael




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