GNOME Bugzilla – Bug 774886
Regression: fatal error: gst/gl/egl/gstglcontext_egl.h: No such file or directory
Last modified: 2016-11-24 02:15:46 UTC
Current gst-omx fails to build as follows: make[2]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx/omx' CC libgstomx_la-gstomxvideodec.lo In file included from gstomxvideodec.c:41:0: /usr/local/include/gstreamer-1.0/gst/gl/egl/gstglmemoryegl.h:32:41: fatal error: gst/gl/egl/gstglcontext_egl.h: No such file or directory #include <gst/gl/egl/gstglcontext_egl.h> ^ compilation terminated. Makefile:704: recipe for target 'libgstomx_la-gstomxvideodec.lo' failed The publicly installed header file gst/gl/egl/gstglmemoryegl.h includes the now-hidden header file gst/gl/egl/gstglcontext_egl.h, and any code depending on the first header (like gst-omx) breaks. It appears there has been other breakage related to this: https://bugzilla.gnome.org/show_bug.cgi?id=774518
Created attachment 340567 [details] [review] Revert the hiding of gstglcontext_egl.h Add a patch that reverts the hiding of the header, which fixes the gst-omx build.
commit 75d36b990d30f39ed4604d7fab56128cba23300b Author: Matthew Waters <matthew@centricular.com> Date: Wed Nov 23 13:32:38 2016 +1100 gl/memoryegl: remove access to private header gstglcontext_egl.h It's been removed and thus compiling anything against GstGLMemoryEGL would error with: In file included from gstomxvideodec.c:41:0: usr/include/gstreamer-1.0/gst/gl/egl/gstglmemoryegl.h:32:41: fatal error: gst/gl/egl/gstglcontext_egl.h: No such file or directory #include <gst/gl/egl/gstglcontext_egl.h> ^ https://bugzilla.gnome.org/show_bug.cgi?id=774886
I don't follow - does gst-omx now build properly?
Yes
The include in gst-omx is fine, but an extra file was include erroneously afterward. This file was part of lingstgl in -bad. Hope this clarify. So update -bad and you should be fine.