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 NAO机器人的录音程序保存问题
  • ¥15 C#读写EXCEL文件,不同编译
  • ¥15 MapReduce结果输出到HBase,一直连接不上MySQL
  • ¥15 扩散模型sd.webui使用时报错“Nonetype”
  • ¥15 stm32流水灯+呼吸灯+外部中断按键
  • ¥15 将二维数组,按照假设的规定,如0/1/0 == "4",把对应列位置写成一个字符并打印输出该字符
  • ¥15 NX MCD仿真与博途通讯不了啥情况
  • ¥15 win11家庭中文版安装docker遇到Hyper-V启用失败解决办法整理
  • ¥15 gradio的web端页面格式不对的问题
  • ¥15 求大家看看Nonce如何配置