编译报错:
Found Pkg-config: NO
Found CMake: NO
Run-time dependency x11 found: NO (tried pkgconfig and cmake)
Run-time dependency gio-2.0 found: NO
meson.build:311:10: ERROR: Dependency lookup for gio-2.0 with method 'pkgconfig' failed: Pkg-config binary for machine 1 not found. Giving up.
已经在执行setup前指定了依赖库的路径:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$pwd/gstreamer-1.22.9/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$pwd/libX11-1.8/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$pwd/glib-2.79.1/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$pwd/orc-0.4.34/lib/pkgconfig
是否meson不能这么用,需要怎么在脚本中导入搜索路径呢?