GNOME Bugzilla – Bug 768553
Configure check for OpenGL is wrong on OS X.
Last modified: 2016-07-11 01:30:54 UTC
Currently the configure step when building gst-plugins-bad under OS X is looking in the wrong place for detecting OpenGL. This results in OpenGL not being found although present on the system. The check on OS X should test against the OpenGL framework and look for OpenGL/gl.h instead of GL/gl.h which is currently used in the configure.ac file. Tested on OS X El Capitan 10.11.2
It already does. https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/configure.ac#n1047 If you're having problems with configuring OpenGL on OS X, we at least need your config.log from a configure run.
There are a few checks with GL/gl.h here for example, which also happen for OSX/iOS: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/configure.ac#n707
Yes, but they don't matter on OS X/iOS...
For me the check that Sebastian linked fails if I run : ./configure --enable-opengl=yes --enable-cocoa For a config output pls see the log here : http://gstreamer-devel.966125.n4.nabble.com/file/n4678493/config.log
Ah, take --enable-cocoa=yes out of your configure options. There's a bug in ./configure on OS X with that.
Created attachment 331059 [details] [review] gl/build: fix configure when --enable-cocoa is passed on OS X Completely untested patch that should fix your issue with --enable-cocoa.
Cool, thanks a lot. I ll give it a try when I have a minute and I will report back here.
Can confirm that with this patch the configure step executes properly when run with the above mentioned flags on my machine.
commit 2ae16c2f685ab81916526a65969d821c4fa3322e Author: Matthew Waters <matthew@centricular.com> Date: Fri Jul 8 19:03:06 2016 +1000 gl/build: fix configure when --enable-cocoa is passed on OS X https://bugzilla.gnome.org/show_bug.cgi?id=768553