Gstreamer GStream介子安装不使用omx插件
我正在尝试使用安装GStreamer,我想安装它的一个插件:omx。为此,我在文件中将其设置为Gstreamer GStream介子安装不使用omx插件,gstreamer,meson-build,Gstreamer,Meson Build,我正在尝试使用安装GStreamer,我想安装它的一个插件:omx。为此,我在文件中将其设置为enabled,并添加目标值: option('target', type : 'combo', choices : ['none', 'generic', 'rpi', 'bellagio', 'tizonia', 'zynqultrascaleplus'], value : 'rpi', description : 'The OMX platform to target') 然而,
enabled
,并添加目标值:
option('target', type : 'combo',
choices : ['none', 'generic', 'rpi', 'bellagio', 'tizonia', 'zynqultrascaleplus'], value : 'rpi',
description : 'The OMX platform to target')
然而,我不断得到错误:
subprojects/gst-omx/meson.build:220:2: ERROR: Problem encountered: Unsupported omx target specified. Use the -Dtarget option
您不应更改meson_options.txt文件,在设置meson build目录时,应在命令行中使用-D optname=optval设置生成选项,并更改子项目前缀中带有冒号的子项目名称的值:-D subproject:optname=optval,因此:
meson build -D omx=enabled -D gst-omx:target=rpi
好的,谢谢你的澄清。它正在工作。