Although I have gtkglext installed, an include file (gtkglext-config.h) seems to be missing. It should have been installed together with the gtkglext package. --------------------------- This is the message I get when I try to compile my test-file: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtkglext-1.0 -Wall -g -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi In file included from /usr/include/gtkglext-1.0/gtk/gtkgl.h:22, from main.c:6: /usr/include/gtkglext-1.0/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory make: *** [main.o] Error 1 --------------------------- [ebuild R ] x11-libs/gtkglext-1.0.6-r2 -debug +doc --------------------------- ls -la /usr/include/gtkglext-1.0/* /usr/include/gtkglext-1.0/gdk: insgesamt 497K drwxr-xr-x 4 root root 632 7. Feb 18:32 ./ drwxr-xr-x 4 root root 96 6. Feb 17:00 ../ -rw-r--r-- 1 root root 4,7K 7. Feb 18:32 gdkglconfig.h -rw-r--r-- 1 root root 2,8K 7. Feb 18:32 gdkglcontext.h -rw-r--r-- 1 root root 2,3K 7. Feb 18:32 gdkgldebug.h -rw-r--r-- 1 root root 1,2K 7. Feb 18:32 gdkgldefs.h -rw-r--r-- 1 root root 4,1K 7. Feb 18:32 gdkgldrawable.h -rw-r--r-- 1 root root 2,0K 7. Feb 18:32 gdkglenumtypes.h -rw-r--r-- 1 root root 1,9K 7. Feb 18:32 gdkglfont.h -rw-r--r-- 1 root root 413K 7. Feb 18:32 gdkglglext.h -rw-r--r-- 1 root root 1,4K 7. Feb 18:32 gdkgl.h -rw-r--r-- 1 root root 1,3K 7. Feb 18:32 gdkglinit.h -rw-r--r-- 1 root root 2,9K 7. Feb 18:32 gdkglpixmap.h -rw-r--r-- 1 root root 1,9K 7. Feb 18:32 gdkglquery.h -rw-r--r-- 1 root root 2,1K 7. Feb 18:32 gdkglshapes.h -rw-r--r-- 1 root root 9,8K 7. Feb 18:32 gdkgltokens.h -rw-r--r-- 1 root root 1,3K 7. Feb 18:32 gdkgltypes.h -rw-r--r-- 1 root root 1,9K 7. Feb 18:32 gdkglversion.h -rw-r--r-- 1 root root 2,9K 7. Feb 18:32 gdkglwindow.h drwxr-xr-x 2 root root 216 7. Feb 18:32 glext/ drwxr-xr-x 2 root root 104 7. Feb 18:32 x11/ /usr/include/gtkglext-1.0/gtk: insgesamt 24K drwxr-xr-x 2 root root 232 7. Feb 18:32 ./ drwxr-xr-x 4 root root 96 6. Feb 17:00 ../ -rw-r--r-- 1 root root 2,0K 7. Feb 18:32 gtkgldebug.h -rw-r--r-- 1 root root 1,2K 7. Feb 18:32 gtkgldefs.h -rw-r--r-- 1 root root 1,1K 7. Feb 18:32 gtkgl.h -rw-r--r-- 1 root root 1,3K 7. Feb 18:32 gtkglinit.h -rw-r--r-- 1 root root 1,9K 7. Feb 18:32 gtkglversion.h -rw-r--r-- 1 root root 2,0K 7. Feb 18:32 gtkglwidget.h It should be in the folder /usr/include/gtkglext-1.0/gdk/ Reproducible: Always Steps to Reproduce: 1. emerge gtkglext 2. write a C-program, that uses/includes gtk/gtkgl.h 3. compile the source Actual Results: gtk/gtkgl.h references an include file named "gtkglext-config.h", but this file does not exist and has not been installed with gtkglext (@emerge). Expected Results: the source code should be compilable and the result should be a wonderful working gtk-app that can use OpenGL (through gtkglext). Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.4,dev-lang/python-2.3.4 [2.4 (#1, Jan 26 2005, 18:26:41)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.4, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozil a/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks nostrip sandbox sfperms" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.utf8" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa anthy apm arts avi berkdb bitmap-fonts bonobo canna cdr cjk crypt cscope cups directfb doc dvd dvdr encode esd fam fbcon flac font-server foomaticdb fortran freewnn gdbm ggi gif gimpprint gnome gphoto2 gpm g treamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde libg++ libwww lzw-tiff mad mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mozsvg mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pd pdflib perl plotutils png ppds python qt quicktime readline ruby samba scanner sdl skk slang speex spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wifi x86 xml xml2 xmms xp int xv xvid zlib linguas_de linguas_ja" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 50631 [details] Example file, that uses gtkglext This file is the file I used (the file that produces the compile output above). It's just a very simple, that just includes gtk/gtkgl.h
this is exactly the same problem as #80314 , gtkglext is just fine as it is. use pkgconfig.