building msdk with oneVPL on Windows fails due to vpl not found
Hi, I'm having trouble building gstreamer with -v intelmsdk
using the oneVPL library.
Win 11 x64 21H2 latest cerbero
Started from scratch, git cloned Cerbero, bootstrapped everything successfully as described in the readme: ran tools\bootstrap-windows.ps1
in powershell; ./cerbero-uninstalled -c config/win64.cbc bootstrap
in MSYS2.
Attempted build as ./cerbero-uninstalled -c config/win64.cbc -v intelmsdk package gstreamer-1.0
.
Got error:
Run-time dependency vpl found: NO (tried pkgconfig and cmake)
..\sys\msdk\meson.build:107:4: ERROR: Problem encountered: msdk plugin enabled but the Intel Media SDK or the oneVPL SDK not found: consider setting PKG_CONFIG_PATH,
INTELMEDIASDKROOT or MFX_HOME
Meson log attached: meson-log.txt
OneVPL standalone (w_oneVPL_p_2023.0.0.25551.exe
) was installed into "C:\Program Files (x86)\Intel\oneAPI". "C:\Program Files (x86)\Intel\oneAPI\vpl\latest" includes the include and lib subfolders. The installer only sets the ONEAPI_ROOT environment variable, pointing to the same latest folder.
I've tried
- adding the latest folder (with full path obviously) to the PATH, to INTELMSDK and MFX_HOME
- including "C:\Program Files (x86)\Intel\oneAPI\vpl\latest\lib\pkgconfig" in PKG_CONFIG_PATH, but that seemed to have been overriden by cerbero as it didn't appear in the log
- I don't know how to forward options to Meson with Cerbero, so I added
'mfx_api': 'oneVPL'
to themeson_options
dict inrecipes/gst-plugins-bad-1.0.recipe
, as it seemed that Meson would otherwise favour IntelMSDK (which isn't installed, btw). - changing above environment variables inside MSYS2 as well as outside in Windows; the PKG_CONFIG_PATH changes seemed to have no effect in either case
Any help is much appreciated.