Thanks again for your help Braden.
OK, I've managed to compile that last change to master :) excellent man, thanks.
But there are issues subsequent to the make install:
$ mingw32-pkg-config --cflags gdkglext-win32-1.0
Package pangox was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangox.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangox', required by 'GdkGLExt', not found
$ mingw32-pkg-config --libs gdkglext-win32-1.0
Package pangox was not found in the pkg-config search path.
Perhaps you should add the directory containing
`pangox.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangox', required by 'GdkGLExt', not found
I think there was some prior trouble with pangox being required in the windows build...but anyway I get around this by manually setting my CFLAGS and LDFLAGS to include:
-I/usr/i686-pc-mingw32/sys-root/mingw/include/gtkglext-1.0
and
-lgdkglext-win32-1.0
respectively. I hope this is correct?
If those flags are correct (or at least if the CFLAGS are correct) compilation fails:
In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/gtkglext-1.0/gtk/gtkgl.h:22,
from /cdev/tol/tol_opengl_renderer.h:20,
from /cdev/tol/tol_opengl_renderer.cpp:4:
/usr/i686-pc-mingw32/sys-root/mingw/include/gtkglext-1.0/gdk/gdkgl.h:22:29: error: gdkglext-config.h: No such file or directory
/cdev/tol/tol_opengl_renderer.cpp: In destructor 'tol_opengl_renderer::~tol_opengl_renderer()':
/cdev/tol/tol_opengl_renderer.cpp:32: error: '::gdk_gl_window_destroy' has not been declared
ignore tol_opengl_renderer, suffice to say: it's application code that uses gtkglext.
The listing of the gdk include directory is:
gdkglconfig.h gdkgldebug.h gdkgldrawable.h gdkglglext.h gdkglinit.h gdkglquery.h gdkgltypes.h gdkglwindow.h win32
gdkglcontext.h gdkgldefs.h gdkglenumtypes.h gdkgl.h gdkglpixmap.h gdkgltokens.h gdkglversion.h
glext
The *.h listing of the gdk directory from the git clone:
gdkglconfig.h gdkglext-config.h gdkglquery.h
gdkglcontext.h gdkglglext.h gdkgltokens.h
gdkgldebug.h gdkgl.h gdkgltypes.h
gdkgldefs.h gdkglinit.h gdkglversion.h
gdkgldrawable.h gdkglpixmap.h gdkglwindow.h
gdkglenumtypes.h gdkglprivate.h
I can't find any occurrence of gdkglext-config.h anywhere under my include directory. For kicks I tried copying all the .h files over, but gdkgl.h still couldn't find the gdkglext-config.h because it's included from <gdkglext-config.h> and not <gdk/gdkglext-config.h> like the others in that file. I thought I'd
stop there and run this past you!
Cheers
Tristen