[Bug 738816] New: gl: gst-plugins-bad won't build without --with-opengl=yes
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Oct 19 08:23:02 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=738816
GStreamer | gst-plugins-bad | git
Summary: gl: gst-plugins-bad won't build without
--with-opengl=yes
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: self at brendanlong.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I'm downloading and building GStreamer from source, and I got errors like
"unknown type name GLuint". Looking through the source I found gstglapi.h which
has some code like:
/* OpenGL 2.0 for Embedded Systems */
#if GST_GL_HAVE_GLES2
#ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES 1
#endif
# ifdef __APPLE__
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
# else
# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>
# endif
# if !GST_GL_HAVE_OPENGL
# include <gst/gl/glprototypes/gstgl_gles2compat.h>
# endif
#endif
/* OpenGL for desktop systems */
#if GST_GL_HAVE_OPENGL
# ifdef __APPLE__
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h>
# include <OpenGL/glu.h>
# else
# include <GL/gl.h>
# include <GL/glu.h>
# if __WIN32__ || _WIN32
# include <GL/glext.h>
# endif
# endif
#endif
I looked in configure.ac and found that if I add --with-opengl=yes, it would
correctly #import <GL/gl.h> (which was already installed and that fixed the
build for me.
Presumably this is meant to be optional though, so this entire plugin shouldn't
be built unless --with-opengl was specified in the configure script.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list