You need to enable JavaScript to run this app. Yocto dunfell分支编译gstreamer报gst-plugins-base.wrap缺失问题
优惠活动
大模型
产品
解决方案
定价
更多

Yocto dunfell分支编译gstreamer报gst-plugins-base.wrap缺失问题

问题归属

该问题来源于openembedded的meta-multimedia层配方,不属于Poky自带配方范围:Poky的核心meta、meta-poky层仅包含GStreamer基础核心组件,gstreamer1.0-plugins-bad属于openembedded扩展层的多媒体类组件。

报错原因

你遇到的报错是dunfell分支GStreamer配方切换构建系统后的典型问题:

  • Zeus分支的gstreamer1.0-plugins-bad使用autotools构建,缺失可选依赖时会自动跳过对应插件编译,不会终止构建
  • Dunfell分支该配方切换为meson构建,meson默认会严格检测所有可选依赖,找不到gstreamer-gl-1.0依赖时就会触发失败,不会自动跳过
    gstreamer-gl-1.0依赖来自gstreamer1.0-plugins-base包,默认配置下未开启GL相关编译选项,因此会触发依赖缺失报错。

解决方案

二选一即可,需要GL相关多媒体功能优先选第一个,不需要GL支持选第二个:

  1. 开启gstreamer1.0-plugins-base的GL相关编译选项,在conf/local.conf中添加如下配置:
PACKAGECONFIG_append_pn-gstreamer1.0-plugins-base = " gl egl gles2"

添加后重新编译gstreamer1.0-plugins-base和gstreamer1.0-plugins-bad即可。
2. 不需要GL相关GStreamer插件的话,直接关闭gstreamer1.0-plugins-bad的GL依赖检测,在conf/local.conf中添加如下配置:

PACKAGECONFIG_remove_pn-gstreamer1.0-plugins-bad = " gl"

修改后直接重新触发构建即可。

内容的提问来源于stack exchange,提问作者yuvi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.16 10:27:00