testegl.c:734:37: error: ‘GL_RGBA8’ undeclared (first use in this function)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

testegl.c:734:37: error: ‘GL_RGBA8’ undeclared (first use in this function)

Peter Maersk-Moller-2
Hi

Compiling gst-omx-1.2.0 on an updated raspian platform together with GStreamer 1.7.91, I get an error 'GL_RGBA8’ undeclared'. See error message further down.

Is this to be expected? Is there a way to fix this?

Compile settings:
LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh --disable-gtk-doc --with-omx-target=rpi --with-omx-header-path=/opt/vc/include/IL

make

Error:
make[3]: Entering directory '/home/pi/Projects/GStreamer/gst-omx-1.2.0/examples/egl'
  CC       testegl-testegl.o
testegl.c: In function ‘init_textures’:
testegl.c:734:37: error: ‘GL_RGBA8’ undeclared (first use in this function)
testegl.c:734:37: note: each undeclared identifier is reported only once for each function it appears in
testegl.c: In function ‘query_cb’:
testegl.c:1082:11: error: too few arguments to function ‘gst_gl_handle_context_query’
In file included from /usr/local/include/gstreamer-1.0/gst/gl/gl.h:37:0,
                 from testegl.c:61:
/usr/local/include/gstreamer-1.0/gst/gl/gstglutils.h:102:10: note: declared here
Makefile:509: recipe for target 'testegl-testegl.o' failed
make[3]: *** [testegl-testegl.o] Error 1


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: testegl.c:734:37: error: ‘GL_RGBA8’ undeclared (first use in this function)

Peter Maersk-Moller-2
Sorry.

I think I already reported this and I think it is due to be fixed whenever a new gst-omx is released ... someday.

Regards
Peter

On Wed, Mar 23, 2016 at 3:09 PM, Peter Maersk-Moller <[hidden email]> wrote:
Hi

Compiling gst-omx-1.2.0 on an updated raspian platform together with GStreamer 1.7.91, I get an error 'GL_RGBA8’ undeclared'. See error message further down.

Is this to be expected? Is there a way to fix this?

Compile settings:
LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh --disable-gtk-doc --with-omx-target=rpi --with-omx-header-path=/opt/vc/include/IL

make

Error:
make[3]: Entering directory '/home/pi/Projects/GStreamer/gst-omx-1.2.0/examples/egl'
  CC       testegl-testegl.o
testegl.c: In function ‘init_textures’:
testegl.c:734:37: error: ‘GL_RGBA8’ undeclared (first use in this function)
testegl.c:734:37: note: each undeclared identifier is reported only once for each function it appears in
testegl.c: In function ‘query_cb’:
testegl.c:1082:11: error: too few arguments to function ‘gst_gl_handle_context_query’
In file included from /usr/local/include/gstreamer-1.0/gst/gl/gl.h:37:0,
                 from testegl.c:61:
/usr/local/include/gstreamer-1.0/gst/gl/gstglutils.h:102:10: note: declared here
Makefile:509: recipe for target 'testegl-testegl.o' failed
make[3]: *** [testegl-testegl.o] Error 1



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel