Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Meson : Dependency not found - Tried both pkg-config and cmake

I'm trying to compile the Pulse Effects project and I faced this issue after running 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

But surely it has been installed and sudo apt install gstreamer-1.0 says:

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)

I use ubuntu 18.04.
Any idea?

like image 801
Parsa Mousavi Avatar asked Nov 01 '25 11:11

Parsa Mousavi


1 Answers

Finally installing the package libgstreamer1.0-dev got the job done.

The problem was that the pkg-config's name of gstreamer is gstreamer-1.0 but the actual package name for development files is libgstreamer1.0-dev and in the meson.build file it was mentioned just as gstreamer-1.0.So that was confusing.

Hope it helps the future readers.

like image 50
Parsa Mousavi Avatar answered Nov 03 '25 03:11

Parsa Mousavi