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

移植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
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 labview采集不了数据
  • ¥15 请上面代码做什么处理或什么混淆
  • ¥15 英雄联盟自定义房间置顶
  • ¥15 W5500网线插上无反应
  • ¥15 如何用字典的Key,显示在WPF的xaml中
  • ¥15 weautomate读取Excel表格信息然后填写到网页一直报错,如何解决?
  • ¥15 C#如何在Webview2中获取网页验证码
  • ¥15 esp32烧录失败,具体情况在图片上
  • ¥15 selenium安装报错
  • ¥15 在node.js中无法安装yarn