tjyuanxi 2019-04-04 17:28 采纳率: 50%
浏览 922
已采纳

移植alexa 到arm上,交叉编译时,找不到gstreamer,求助

我现在要移植alexa 到MT8516上。交叉编译sampleapp,是需要编译mediaplayer的
,于是我编译mediaplayer,编译时报错:
cmake ../MediaPlayer -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_BUILD_TYPE=Debug -DARCH=arm
Creating the build directory for the MediaPlayer with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.

-- Checking for modules 'gstreamer-1.0>=1.8;gstreamer-app-1.0>=1.8'

CMake Error at /opt/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/opt/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
/home/jiantang/blackwarrior/avs-device-sdk-master/build/cmake/MediaPlayer.cmake:14 (pkg_check_modules)
/home/jiantang/blackwarrior/avs-device-sdk-master/build/BuildDefaults.cmake:25 (include)
GStreamerMediaPlayer/CMakeLists.txt:4 (include)

-- Configuring incomplete, errors occurred!
See also "/home/jiantang/blackwarrior/avs-device-sdk-master/MediaPlayer_build/CMakeFiles/CMakeOutput.log".

就是找不到gstreamer库,我现在已经有arm的gstreamer库了,请问怎么正确得加入到编译中去?

  • 写回答

1条回答 默认 最新

  • devmiao 2019-04-04 23:51
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr
  • ¥15 怀疑手机被监控,请问怎么解决和防止
  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的
  • ¥15 全志H618ROM新增分区
  • ¥15 在grasshopper里DrawViewportWires更改预览后,禁用电池仍然显示