<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Marco,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">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.....<br><br><b>Dave</b></div><div><br>On 20 Jun 2016, at 4:34 AM, Marco Trapanese <<a href="mailto:marcotrapanese@gmail.com">marcotrapanese@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div><br></div>In the meanwhile I'm recompiling all from git sources which are more recent than tar.gz file and have fixed some issues.<br></div>After compiling gstreamer, plugins base/good I tried to compile gst-omx in this way:<br><br>./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/"<br><br></div>but the building fails:<br><br></div>[lot of similar warnings]<br><div>testegl.c:1383:5: warning: nested extern declaration of ‘glDetachShader’ [-Wnested-externs]<br>testegl.c:1392:5: warning: implicit declaration of function ‘glDeleteProgram’ [-Wimplicit-function-declaration]<br> glDeleteProgram (state->program);<br> ^<br>testegl.c:1392:5: warning: nested extern declaration of ‘glDeleteProgram’ [-Wnested-externs]<br> CCLD testegl<br>testegl-testegl.o: In function `open_ogl':<br>/tmp/src/gst-omx/examples/egl/testegl.c:1425: undefined reference to `bcm_host_init'<br>testegl-testegl.o: In function `init_ogl':<br>/tmp/src/gst-omx/examples/egl/testegl.c:434: undefined reference to `eglSaneChooseConfigBRCM'<br>/tmp/src/gst-omx/examples/egl/testegl.c:451: undefined reference to `graphics_get_display_size'<br>/tmp/src/gst-omx/examples/egl/testegl.c:465: undefined reference to `vc_dispmanx_display_open'<br>/tmp/src/gst-omx/examples/egl/testegl.c:466: undefined reference to `vc_dispmanx_update_start'<br>/tmp/src/gst-omx/examples/egl/testegl.c:469: undefined reference to `vc_dispmanx_element_add'<br>/tmp/src/gst-omx/examples/egl/testegl.c:477: undefined reference to `vc_dispmanx_update_submit_sync'<br>testegl-testegl.o: In function `close_ogl':<br>/tmp/src/gst-omx/examples/egl/testegl.c:1410: undefined reference to `vc_dispmanx_update_start'<br>/tmp/src/gst-omx/examples/egl/testegl.c:1411: undefined reference to `vc_dispmanx_element_remove'<br>/tmp/src/gst-omx/examples/egl/testegl.c:1412: undefined reference to `vc_dispmanx_update_submit_sync'<br>/tmp/src/gst-omx/examples/egl/testegl.c:1413: undefined reference to `vc_dispmanx_display_close'<br>collect2: error: ld returned 1 exit status<br><br></div><div>so I added:<br><br> -L/opt/vc/lib/ -lbcm_host<br><br></div><div>to CPPFLAGS but the behavior is the same.<br><br></div><div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></span><br><span><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></span><br></div></blockquote></body></html>