Issue building gstreamer-video using cargo
I tried to build this cargo.toml
file
[package]
...
[dependencies]
glib = "0.4"
gstreamer = "0.10"
gstreamer-base = "0.10"
gst-plugin = "0.1"
gstreamer-video = "0.10"
[lib]
name = "gstrstutorial"
crate-type = ["cdylib"]
path = "src/lib.rs"
I'm getting this error when I try cargo build
. I found out that the problem is with gstreamer-video = "0.10"
Compiling gstreamer-video-sys v0.4.0
error: failed to run custom build command for `gstreamer-video-sys v0.4.0`
process didn't exit successfully: `/home/.../Desktop/GStreamer/plugin tests/target/debug/build/gstreamer-video-sys-0a43cf028baefe7d/build-script-build` (exit code: 1)
--- stderr
`"pkg-config" "--libs" "--cflags" "gstreamer-video-1.0 >= 1.8"` did not exit successfully: exit code: 1
--- stderr
Package gstreamer-video-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-1.0' found