[Bug 740530] gstglapi.h:42:21: fatal error: EGL/egl.h: No such file or directory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 24 03:23:38 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740530
  GStreamer | gst-plugins-bad | 1.4.4

--- Comment #8 from Arnaud Loonstra <arnaud at sphaero.org> 2014-11-24 11:23:36 UTC ---
It conflicts with the mesa provided includes in raspbian.

$ make CFLAGS+="-Wno-error -Wno-redundant-decls -I/opt/vc/include
-I/opt/vc/include/interface/vc
os/pthreads -I/opt/vc/include/interface/vmcs_host/linux" \
>   CPPFLAGS+="-Wno-error -Wno-redundant-decls -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmc
s_host/linux" \
>   CXXFLAGS+="-Wno-redundant-decls" LDFLAGS+="-L/opt/vc/lib"
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/home/pi/src/gstreamer/gst-plugins-bad/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h  
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/home/pi/src/gstreamer/gst-plugins-bad'
Making all in gst-libs
make[2]: Entering directory '/home/pi/src/gstreamer/gst-plugins-bad/gst-libs'
Making all in gst
make[3]: Entering directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst'
Making all in interfaces
make[4]: Entering directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst/interfaces'
make  all-am
make[5]: Entering directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst/gl/dispmanx'
  CC     libgstgl_dispmanx_la-gstglwindow_dispmanx_egl.lo
In file included from ../../../../gst-libs/gst/gl/gstglapi.h:61:0,
                 from ../gstgl_fwd.h:26,
                 from gstglwindow_dispmanx_egl.c:27:
/opt/vc/include/GLES2/gl2.h:65:26: error: conflicting types for 'GLintptr'
../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:37:19: note: previous
declaration of 'GLintptr' was here
/opt/vc/include/GLES2/gl2.h:66:26: error: conflicting types for 'GLsizeiptr'
../../../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:34:19: note: previous
declaration of 'GLsizeiptr' was here
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:80,
                 from ../gstgl_fwd.h:26,
                 from gstglwindow_dispmanx_egl.c:27:
/usr/include/GL/glext.h:5327:19: error: conflicting types for 'GLintptr'
/opt/vc/include/GLES2/gl2.h:65:26: note: previous declaration of 'GLintptr' was
here
/usr/include/GL/glext.h:5328:19: error: conflicting types for 'GLsizeiptr'
/opt/vc/include/GLES2/gl2.h:66:26: note: previous declaration of 'GLsizeiptr'
was here
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:80,
                 from ../gstgl_fwd.h:26,
                 from gstglwindow_dispmanx_egl.c:27:
/usr/include/GL/glext.h:5728:21: error: conflicting types for 'glBufferData'
/opt/vc/include/GLES2/gl2.h:514:37: note: previous declaration of
'glBufferData' was here
/usr/include/GL/glext.h:5729:21: error: conflicting types for 'glBufferSubData'
/opt/vc/include/GLES2/gl2.h:515:37: note: previous declaration of
'glBufferSubData' was here
Makefile:743: recipe for target
'libgstgl_dispmanx_la-gstglwindow_dispmanx_egl.lo' failed
make[5]: *** [libgstgl_dispmanx_la-gstglwindow_dispmanx_egl.lo] Error 1
make[5]: Leaving directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst/gl/dispmanx'
Makefile:1107: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst/gl'
Makefile:706: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/home/pi/src/gstreamer/gst-plugins-bad/gst-libs/gst'
Makefile:695: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pi/src/gstreamer/gst-plugins-bad/gst-libs'
Makefile:860: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/src/gstreamer/gst-plugins-bad'
Makefile:788: recipe for target 'all' failed
make: *** [all] Error 2

-- 
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