Yoto:yocto 中的 gstreamer1.0-plugins-bad_1.16.3.bb:do_configure [英] Yoto: gstreamer1.0-plugins-bad_1.16.3.bb:do_configure in yocto

查看:244
本文介绍了Yoto:yocto 中的 gstreamer1.0-plugins-bad_1.16.3.bb:do_configure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想构建 yocto 或 qt 工具链,我总是面临一个问题.

I am always facing a problem if i wanted to build yocto or the qt toolchain.

例如,在第一次运行时,我在第一次出现问题时给出了以下命令:

for example in the first run i have give the following command where the issue occurs the first time:

bitbake meta-toolchain-qt5

出现以下错误信息:

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi3"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.6"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 = "dunfell:9ee329c18fbe0c42eaf3d43657ea30591f79143b"
meta-oe              = "dunfell:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-poky            
meta-yocto-bsp       = "dunfell:9ee329c18fbe0c42eaf3d43657ea30591f79143b"
meta-qt5             = "dunfell:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-raspberrypi     = "dunfell:77190af02d48adc2b28216775e6318e9eeda571c"
meta-multimedia      
meta-python          
meta-networking      = "dunfell:346681e7bf9c78008a845fc89031be4fd4ceb3a1"

Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 0 Found 0 Missed 0 Current 329 (0% match, 100% complete)
NOTE: Executing Tasks
ERROR: gstreamer1.0-plugins-bad-1.16.3-r0 do_configure: meson failed
-------------------------------------------------------------------------------------------
| Run-time dependency gstreamer-sdp-1.0 found: YES 1.16.3
| Run-time dependency gstreamer-tag-1.0 found: YES 1.16.3
| Run-time dependency gstreamer-video-1.0 found: YES 1.16.3
| Run-time dependency gstreamer-check-1.0 found: YES 1.16.3
| Found CMake: NO
| Run-time dependency gstreamer-gl-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-gl-1.0
| 
| meson.build:283:0: ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
| 

我有什么想法可以解决这个问题吗?

How can i solve this problem any ideas?

提前致谢

推荐答案

我也遇到了这个问题,并且能够找到原因(尽管它可能不适用于原始查询,如果它是由一个干净的建造).就我而言,我正在构建基于 ELGFS Qt 的系统.gstreamer1.0-plugins-base 中的 meson.build 文件中有一个检查,如果找不到 OpenGL 窗口系统,它将禁用 gstgl 库构建,这是为我触发的.gstreamer 1.16 不像窗口系统那样支持 EGL,但 1.18 支持.Yocto 使用 hardknott 版本升级到 gstreamer 1.18,但我们依赖多个支持 3rd 方的配方,这些配方仍在 Dunfell 上且无法升级.

I encountered this issue as well and was able to track down the cause (though it probably doesn't apply to the original query if it was resolved by a clean build). In my case, I was building for an ELGFS Qt based system. There's a check in the meson.build file in gstreamer1.0-plugins-base that will disable the gstgl library build if an OpenGL Window system isn't found, and this was being triggered for me. gstreamer 1.16 does not support EGL as the window system but 1.18 does. Yocto upgraded to gstreamer 1.18 with the hardknott release, but we were relying on multiple supporting 3rd party recipes that were still on dunfell and couldn't upgrade.

在我们的案例中,gstreamer 已作为 qtmultimedia 的依赖项包含在内,但这被确定为无关紧要,可以通过排除 qtmultimedia 或使用 .bbappend 文件从 PACKAGECONFIG 中删除 gstreamer 来解决.如果确实需要 gstreamer,那么选项是:

In our case, gstreamer had been included as a dependency from qtmultimedia, but this was determined to be extraneous and could be resolved by excluding qtmultimedia or using a .bbappend file to remove gstreamer from the PACKAGECONFIG. If gstreamer is actually needed then the options are:

  1. 使用窗口系统(例如,weston 或自定义 Wayland 合成器),或
  2. 看看是否可以在现有项目中使用来自 hardknott 的 gstreamer 1.18 配方,或者
  3. 看看是否可以将整个项目升级为使用hardknott版本,以便默认使用gstreamer 1.18.

这篇关于Yoto:yocto 中的 gstreamer1.0-plugins-bad_1.16.3.bb:do_configure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆