linux 在yocto sdk构建中包含gstreamer库/头文件

twh00eeo  于 2023-08-03  发布在  Linux
关注(0)|答案(1)|浏览(159)

我正在构建一个Yocto SDK,以便在Ubuntu上交叉编译针对Raspberry Pi的gstreamer插件。sdk通过bitbake -c populate_sdk core-image-minimal构建得很好,我添加了所有相关的层,但是gstreamer库和头文件没有作为生成的SDK的一部分包含在内。我错过了什么?
FYI:

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.27"
TUNE_FEATURES        = "aarch64 cortexa72 crc crypto"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:df86cc15d0a39d8d85747f7acc2c887cccfd9fa7"
meta-raspberrypi     = "dunfell:2081e1bb9a44025db7297bfd5d024977d42191ed"
meta-oe              
meta-python          
meta-networking      
meta-multimedia      = "dunfell:b8b0b06821d4d4df0cce4f07fa31a8ca1dd38f46"

字符串

vcudknz3

vcudknz31#

如果你想做一个快速测试,你可以在你的local.conf中添加gstreamer包:

IMAGE_INSTALL += "gstreamer1.0"
# You can also add plugins to your image if you need them.
IMAGE_INSTALL += " gstreamer1.0-plugins-good \
                   gstreamer1.0-plugins-bad \
                   gstreamer1.0-plugins-base "

字符串
如果你有一个Meta,把它添加到你的图片中。

相关问题