gstreamer-1.0 plugin for videosink without X
Dave Johnstone
dave at digits.tv
Mon Jun 20 12:01:40 UTC 2016
Hi Marco,
Spent a few hours on this today but was unable to compile plugins-bad with egl and gles. I believe bad needs to be installed before omx will compile. More time needed tomorrow.....
Dave
> On 20 Jun 2016, at 4:34 AM, Marco Trapanese <marcotrapanese at gmail.com> wrote:
>
>
> In the meanwhile I'm recompiling all from git sources which are more recent than tar.gz file and have fixed some issues.
> After compiling gstreamer, plugins base/good I tried to compile gst-omx in this way:
>
> ./configure --prefix=/usr --sysconfdir=/etc --with-omx-header-path=/opt/vc/include/IL --with-omx-target=rpi CPPFLAGS="-I/tmp/src/gst-plugins-bad/gst-libs -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads/ -I/opt/vc/include/interface/vmcs_host/linux/"
>
> but the building fails:
>
> [lot of similar warnings]
> testegl.c:1383:5: warning: nested extern declaration of ‘glDetachShader’ [-Wnested-externs]
> testegl.c:1392:5: warning: implicit declaration of function ‘glDeleteProgram’ [-Wimplicit-function-declaration]
> glDeleteProgram (state->program);
> ^
> testegl.c:1392:5: warning: nested extern declaration of ‘glDeleteProgram’ [-Wnested-externs]
> CCLD testegl
> testegl-testegl.o: In function `open_ogl':
> /tmp/src/gst-omx/examples/egl/testegl.c:1425: undefined reference to `bcm_host_init'
> testegl-testegl.o: In function `init_ogl':
> /tmp/src/gst-omx/examples/egl/testegl.c:434: undefined reference to `eglSaneChooseConfigBRCM'
> /tmp/src/gst-omx/examples/egl/testegl.c:451: undefined reference to `graphics_get_display_size'
> /tmp/src/gst-omx/examples/egl/testegl.c:465: undefined reference to `vc_dispmanx_display_open'
> /tmp/src/gst-omx/examples/egl/testegl.c:466: undefined reference to `vc_dispmanx_update_start'
> /tmp/src/gst-omx/examples/egl/testegl.c:469: undefined reference to `vc_dispmanx_element_add'
> /tmp/src/gst-omx/examples/egl/testegl.c:477: undefined reference to `vc_dispmanx_update_submit_sync'
> testegl-testegl.o: In function `close_ogl':
> /tmp/src/gst-omx/examples/egl/testegl.c:1410: undefined reference to `vc_dispmanx_update_start'
> /tmp/src/gst-omx/examples/egl/testegl.c:1411: undefined reference to `vc_dispmanx_element_remove'
> /tmp/src/gst-omx/examples/egl/testegl.c:1412: undefined reference to `vc_dispmanx_update_submit_sync'
> /tmp/src/gst-omx/examples/egl/testegl.c:1413: undefined reference to `vc_dispmanx_display_close'
> collect2: error: ld returned 1 exit status
>
> so I added:
>
> -L/opt/vc/lib/ -lbcm_host
>
> to CPPFLAGS but the behavior is the same.
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160620/445fb59d/attachment.html>
More information about the gstreamer-devel
mailing list