打算在arm 板子上編譯安裝 qt5.12.3 ,configure選項帶上了 -gstreamer 1.0 ,使支持視頻播放,configure執行完報錯如下:
-----------------------------------------------------------------------------------------------------------------------------------
“ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.”
-----------------------------------------------------------------------------------------------------------------------------------
用apt 安裝 gstreamer ,結果又遇到如下錯誤
-----------------------------------------------------------------------------------------------------------------------------------
root@firefly:~/tmp/del/gst-omx-1.16.0# apt-get install gstreamer1.0-omx libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gstreamer1.0-omx
E: Couldn't find any package by glob 'gstreamer1.0-omx'
E: Couldn't find any package by regex 'gstreamer1.0-omx'
-----------------------------------------------------------------------------------------------------------------------------------
于是下載 gst-omx 原始碼安裝,結果又遇到如下錯誤,實在不知道如何解決了
# ./configure --with-omx-target={generic,rpi,bellagio}
# make
錯誤資訊如下
-----------------------------------------------------------------------------------------------------------------------------------
Making all in tests
make[2]: Entering directory '/root/tmp/del/gst-omx-1.16.0/tests'
Making all in check
make[3]: Entering directory '/root/tmp/del/gst-omx-1.16.0/tests/check'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/tmp/del/gst-omx-1.16.0/tests/check'
make[3]: Entering directory '/root/tmp/del/gst-omx-1.16.0/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/tmp/del/gst-omx-1.16.0/tests'
make[2]: Leaving directory '/root/tmp/del/gst-omx-1.16.0/tests'
Making all in examples
make[2]: Entering directory '/root/tmp/del/gst-omx-1.16.0/examples'
Making all in egl
make[3]: Entering directory '/root/tmp/del/gst-omx-1.16.0/examples/egl'
CCLD testegl
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so: undefined reference to `gbm_bo_create_with_modifiers'
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so: undefined reference to `gbm_bo_get_bpp'
collect2: error: ld returned 1 exit status
Makefile:501: recipe for target 'testegl' failed
make[3]: *** [testegl] Error 1
make[3]: Leaving directory '/root/tmp/del/gst-omx-1.16.0/examples/egl'
Makefile:480: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/tmp/del/gst-omx-1.16.0/examples'
Makefile:532: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/tmp/del/gst-omx-1.16.0'
Makefile:464: recipe for target 'all' failed
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------------------
在執行如下命令查找符號,都是有的
# nm -Do /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so |grep gbm_bo_get_bpp
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so: U gbm_bo_get_bpp
# nm -Do /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so |grep gbm_bo_create_with_modifiers
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libEGL.so: U gbm_bo_create_with_modifiers
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/22688.html
標籤:應用程序開發區
上一篇:shell命令sed獲取檔案指定關鍵字出現最后位置到最后一行的內容
下一篇:rsyncd按周期備份
