我正在尝试编译 Pulse Effects项目,我在运行 meson build
后遇到了这个问题:
Dependency gstreamer-1.0 found: NO (tried pkgconfig and cmake)
src/meson.build:97:0: ERROR: Dependency "gstreamer-1.0" not found, tried pkgconfig and cmake
但肯定它已经安装并且 sudo apt install gstreamer-1.0
说:
libqt5gstreamer-1.0-0 is already the newest version (1.2.0-5).
gir1.2-gstreamer-1.0 is already the newest version (1.14.5-0ubuntu1~18.04.1)
我使用的是 ubuntu 18.04。
有什么想法吗?
最佳答案
最终安装包 libgstreamer1.0-dev
完成了工作。
问题是 pkg-config
的 gstreamer 名称是 gstreamer-1.0
但开发文件的实际包名称是libgstreamer1.0-dev
并且在 meson.build
文件中它被提到为 gstreamer-1.0
。所以这很令人困惑。
希望对以后的读者有所帮助。
关于linux - 介子: Dependency not found - Tried both pkg-config and cmake,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62923551/