Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gstreamer GStream介子安装不使用omx插件_Gstreamer_Meson Build - Fatal编程技术网

Gstreamer GStream介子安装不使用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') 然而,

我正在尝试使用安装GStreamer,我想安装它的一个插件:omx。为此,我在文件中将其设置为
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

好的,谢谢你的澄清。它正在工作。