gstreamer-1.0 plugin for videosink without X

Marco Trapanese marcotrapanese at gmail.com
Sun Jun 19 19:04:06 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160619/b6191396/attachment.html>


More information about the gstreamer-devel mailing list