GNOME Bugzilla – Bug 727125
fatal error: GL/wglext.h: No such file or directory
Last modified: 2014-03-28 17:58:56 UTC
When cross compiling the GStreamer bad plugins on Linux for Windows with Cerbero I get the following error: gstglcontext_wgl.c:32:23: fatal error: GL/wglext.h: No such file or directory compilation terminated. make[5]: *** [libgstgl_win32_la-gstglcontext_wgl.lo] Error 1 This shows the available headers for the toolchain: ~/cerbero/mingw/w32/i686-w64-mingw32/include/GL$ ls glaux.h glext.h gl.h glu.h I would be happy to provide any further information.
a) download and install the wglext.h header from https://www.opengl.org/registry/api/GL/wglext.h or google opengl headers. b) don't build gl (pass --disable-wgl or --disable-opengl or --disable-win32 to configure. They all should work) c) fix configure.ac to detect this.
Created attachment 273074 [details] [review] gl/win32 allow not building the gl plugins/libraries Actually, option b won't work on windows :) Anyway, does this fix it for you?
Works, thanks! Pushed: commit 8b9aa71f3e4431d044be4d72163d250a46df4c56 Author: Matthew Waters <ystreet00@gmail.com> Date: Thu Mar 27 22:41:02 2014 +1100 gl/win32: allow not building the gl plugins Fixes build if <GL/wglext.h> headers are not present. https://bugzilla.gnome.org/show_bug.cgi?id=727125