After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727125 - fatal error: GL/wglext.h: No such file or directory
fatal error: GL/wglext.h: No such file or directory
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal blocker
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-27 01:28 UTC by Kyle
Modified: 2014-03-28 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gl/win32 allow not building the gl plugins/libraries (1.61 KB, patch)
2014-03-27 11:43 UTC, Matthew Waters (ystreet00)
committed Details | Review

Description Kyle 2014-03-27 01:28:54 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.
Comment 1 Matthew Waters (ystreet00) 2014-03-27 11:31:16 UTC
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.
Comment 2 Matthew Waters (ystreet00) 2014-03-27 11:43:11 UTC
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?
Comment 3 Tim-Philipp Müller 2014-03-28 17:58:45 UTC
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