create a symlink from the gtk-2.0 dir to one called gtk
HI
I cant get <gtk/gtk.h> to compile. It is located in /usr/local/include/gtk-2.0/. My compiler cant find the header, giving:
"gtk/gtk.h: No such file or directory"
so if I do gcc -I/usr/local/include/gtk-2.0 It gives me a list of errors with atk/*, pango/* headers out of place. If I include those it gives me a whole new list of headers not found. This is the same for all gtk, atk, and pango versions. Even the ones that came with the distribution.
I heard something about gtk-devel libraries, but can't find them. Any help would really be appreciated.
ediks
create a symlink from the gtk-2.0 dir to one called gtk
whatdoyougetwhenyoumultiplysixbynine??
I tried sym links that didn't work. I asked on gtk forum and they said to use `pkg-config --cflags gtk+-2.0`
gcc -o gtk gtk.c `pkg-config --cflags gtk+-2.0`, and that works.
thanks anyway though
Compile the whole program as the actual root user.
Log out of your current user, then login as root. Do not use su to go into root. Then clean out the dir that you were compiling in with make clean. It might be eaiser to delete the dir all together then un*tar*zip it again.
This should fix your problem I think.
AMD Athlon 2200+ 1.8Ghz
1280MB PC-3200 CAS2.5 RAM
ATI Radeon 9600 Pro 128MB AGP
Western Digital WDC WD2500JB-00FUA0 250GB 7200 rpm ATA/133
Seagate ST3200822A 200GB 7200 rpm ATA/133
Western Digital WDC WD1200BB-00CAA1 120GB 7200 rpm ATA/133
Western Digital WDC WD800BB-00CAA1 80GB 7200 rpm ATA/133
Maxtor OneTouch 2HA43R32 1TB 7200 rpm USB 2.0
D-Link DFE-530TX+ 10/100 NIC
D-Link DWL-G520 Rev.A
Debian 5.0r1 Lenny
Bookmarks