How to run examples on macOS?
Created by: kornelski
I've tried installing gstreamer via Homebrew, but Homebrew only has a generic "gstreamer" package, and not specific "gstreamer-video-1.0", etc.
I've also tried installing everything from https://gstreamer.freedesktop.org/data/pkg/osx/1.12.3/gstreamer-1.0-1.12.3-x86_64-packages.dmg and https://gstreamer.freedesktop.org/data/pkg/osx/1.12.3/gstreamer-1.0-1.12.3-x86_64.pkg
but in both cases gstreamer-rs can't find packages it needs:
/gstreamer-rs/examples$ cargo run --bin playbin Compiling gstreamer-audio-sys v0.3.0 (https://github.com/sdroege/gstreamer-sys#4b228f5f) Compiling gstreamer-app-sys v0.3.0 (https://github.com/sdroege/gstreamer-sys#4b228f5f) Compiling gstreamer-video-sys v0.3.0 (https://github.com/sdroege/gstreamer-sys#4b228f5f) error: failed to run custom build command for
gstreamer-app-sys v0.3.0 (https://github.com/sdroege/gstreamer-sys#4b228f5f)
process didn't exit successfully:/www/gstreamer-rs/target/debug/build/gstreamer-app-sys-5e59631e4f8c2493/build-script-build
(exit code: 1) --- stderr"pkg-config" "--libs" "--cflags" "gstreamer-app-1.0 >= 1.8"
did not exit successfully: exit code: 1 …"pkg-config" "--libs" "--cflags" "gstreamer-audio-1.0 >= 1.8"
did not exit successfully: exit code: 1 …"pkg-config" "--libs" "--cflags" "gstreamer-video-1.0 >= 1.8"
did not exit successfully: exit code: 1