Mon 09 Jul 2007 09:18:20 AM UTC, comment #15:
I just tried this with gtkglext installed under /usr/local and it found all the headers and compiled fine.
|
Mon 28 May 2007 06:14:08 PM UTC, comment #14:
It seems something changed again in the code base, could you try with an up to date CVS ?
|
Sun 25 Feb 2007 08:47:53 PM UTC, comment #13:
just verified against gnash-cvs-20070224; essentially identical error to previous comment.
pkg-config --cflags gtkglext-1.0
-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0
locate gdkglext-config.h
/usr/lib/gtkglext-1.0/include/gdkglext-config.h
compiler call from make file was
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../server/vm -I../libltdl -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -DPKGDATADIR=\"/usr/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"none\" -DDECODER_CONFIG=\"none\" -DTARGET_CONFIG=\"i386-redhat-linux-gnu\" -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o
|
Mon 27 Nov 2006 02:01:03 PM UTC, comment #12:
Note that output of 'make dumpconfig' is attached.
|
Wed 22 Nov 2006 10:52:13 PM UTC, comment #11:
please gimme: 'make dumpconfig'
|
Wed 22 Nov 2006 02:12:45 PM UTC, comment #10:
And I get the same error on CVS head...
|
Wed 22 Nov 2006 01:57:39 PM UTC, comment #9:
Unfortunately this is NOT yet fixed - and final 0.7.2 does not compile:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"sdl\" -DDECODER_CONFIG=\"mad\" -g -O2 -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o
In file included from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory
In file included from /usr/local/include/gtkglext-1.0/gdk/gdkgl.h:24,
from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgldefs.h:24:29: gdkglext-config.h: No such file or directory
gtk.cpp: In member function `virtual void
gnash::GtkGui::set_invalidated_region(const gnash::rect&)':
gtk.cpp:220: warning: unused parameter `const gnash::rect&bounds'
make[3]: *** [gtk.lo] Error 1
make[3]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2'
make: *** [all] Error 2
|
Wed 15 Nov 2006 01:39:12 PM UTC, comment #8:
I tried current 0.7.2 CVS but don't work. I get again the same error.
|
Mon 13 Nov 2006 07:37:27 PM UTC, comment #7:
For some reason the file in question is here: ${prefix}/lib/gtkglext-1.0/include/gdkglext-config.h
I'll fix this.
|
Mon 13 Nov 2006 05:17:11 PM UTC, comment #6:
Ok, so it is the non-pkg-config-based check that is missing to add an additional -I flagusr/local/lib/gtkglext-1.0/include/
And what does 'make dumpconfig' report as GLEXT_CFLAGS ?
You'd need at least:
-I/usr/local/lib/gtkglext-1.0/include/
in it...
|
Mon 13 Nov 2006 05:03:38 PM UTC, comment #5:
$ pkg-config --cflags gtkglext-1.0
Package gtkglext-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglext-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglext-1.0' found
$ find / -name gdkglext-config.h
/usr/local/lib/gtkglext-1.0/include/gdkglext-config.h
|
Mon 13 Nov 2006 04:50:15 PM UTC, comment #4:
This seems a bug in the gtkglext.m4 macros file, probably similar to the bug in glib.m4 reported in bug #18158.
Do you have pkg-config ?
If yes, what does the following return:
pkg-config --cflags gtkglext-1.0
And where do you have the file gdkglext-config.h ?
|
Mon 13 Nov 2006 04:44:07 PM UTC, comment #3:
./configure --disable-klash
Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
Web server support disabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
XML and XMLSocket enabled (default). Use --disable-xml to disable.
Firefox plugin enabled (default). Use --disable-plugin to disable.
Konqueror plugin disabled.
GNOME help disabled (default). Use --enable-ghelp to enable.
Unit testing support disabled
Renderer engine: opengl
GUI: gtk
Sound handler: sdl
MP3 decoder: mad
|
Mon 13 Nov 2006 04:25:51 PM UTC, comment #2:
What's your call to ./configure ?
What's the last report of ./configure ? (gui/renderer)
|
Mon 13 Nov 2006 03:35:13 PM UTC, comment #1:
I get the same error also on head.
|
Mon 13 Nov 2006 02:50:06 PM UTC, original submission:
Just update to current 0.7.2 and now I get this compile error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"sdl\" -DDECODER_CONFIG=\"mad\" -g -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o
In file included from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory
In file included from /usr/local/include/gtkglext-1.0/gdk/gdkgl.h:24,
from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgldefs.h:24:29: gdkglext-config.h: No such file or directory
gtk.cpp: In member function `virtual void
gnash::GtkGui::set_invalidated_region(const gnash::rect&)':
gtk.cpp:220: warning: unused parameter `const gnash::rect&bounds'
gtk_glue_gtkglext.h: In member function `virtual void
gnash::GtkGlExtGlue::render(int, int, int, int)':
gtk_glue_gtkglext.h:47: warning: unused parameter `int minx'
gtk_glue_gtkglext.h:47: warning: unused parameter `int miny'
gtk_glue_gtkglext.h:47: warning: unused parameter `int maxx'
gtk_glue_gtkglext.h:47: warning: unused parameter `int maxy'
make[3]: *** [gtk.lo] Error 1
make[3]: Leaving directory `/home/fabio/sorgenti/gnash/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2
|