Compilation issues on macOS Catalina, GST 1.16.2
Hi,
I was following the installation procedure (brew instructions, pkg installation, export of path) and cloned the repo. Then run cargo build
from the examples sub-dir. Didn't go throuhg:
Output:
~/Documents/Rust/gstreamer-rs/examples $ cargo build
warning: /Users/decades/Documents/Rust/gstreamer-rs/examples/Cargo.toml: unused manifest key: bin.31.features
Compiling proc-macro2 v1.0.20
Compiling unicode-xid v0.2.1
Compiling syn v1.0.40
Compiling serde v1.0.115
Compiling unicode-segmentation v1.6.0
Compiling version-compare v0.0.10
Compiling pkg-config v0.3.18
Compiling strum v0.18.0
Compiling libc v0.2.76
Compiling autocfg v1.0.1
Compiling version_check v0.9.2
Compiling pin-project-internal v0.4.23
Compiling proc-macro-nested v0.1.6
Compiling memchr v2.3.3
Compiling proc-macro-hack v0.5.18
Compiling futures-core v0.3.5
Compiling futures-sink v0.3.5
Compiling once_cell v1.4.1
Compiling anyhow v1.0.32
Compiling pin-utils v0.1.0
Compiling slab v0.4.2
Compiling futures-io v0.3.5
Compiling either v1.6.0
Compiling bitflags v1.2.1
Compiling gstreamer v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer)
Compiling pretty-hex v0.2.0
Compiling muldiv v0.2.1
Compiling cfg-if v0.1.10
Compiling paste v1.0.0
Compiling gstreamer-base v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-base)
Compiling gstreamer-audio v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-audio)
Compiling gstreamer-pbutils v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-pbutils)
Compiling gstreamer-app v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-app)
Compiling gstreamer-video v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/gstreamer-video)
Compiling examples v0.17.0 (/Users/decades/Documents/Rust/gstreamer-rs/examples)
Compiling array-init v0.1.1
Compiling byte-slice-cast v0.3.5
Compiling num-traits v0.2.12
Compiling num-integer v0.1.43
Compiling num-rational v0.3.0
Compiling heck v0.3.1
Compiling futures-channel v0.3.5
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling itertools v0.9.0
Compiling futures-task v0.3.5
Compiling quote v1.0.7
Compiling toml v0.5.6
Compiling proc-macro-crate v0.1.5
Compiling thiserror-impl v1.0.20
Compiling strum_macros v0.18.0
Compiling futures-macro v0.3.5
Compiling glib-macros v0.10.0 (https://github.com/gtk-rs/glib#197c2385)
Compiling derive_more v0.99.9
Compiling thiserror v1.0.20
Compiling system-deps v1.3.2
Compiling pin-project v0.4.23
Compiling glib-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02)
Compiling gobject-sys v0.10.0 (https://github.com/gtk-rs/sys#56e03c02)
Compiling gstreamer-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-base-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-video-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-audio-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-pbutils-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling gstreamer-app-sys v0.10.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys#cc525cdf)
Compiling futures-util v0.3.5
Compiling futures-executor v0.3.5
Compiling glib v0.10.0 (https://github.com/gtk-rs/glib#197c2385)
Compiling futures v0.3.5
error[E0425]: cannot find function `debug_add_ring_buffer_logger` in crate `gst`
--> examples/src/bin/debug_ringbuffer.rs:25:10
|
25 | gst::debug_add_ring_buffer_logger(1024, 10);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `gst`
error[E0425]: cannot find function `debug_ring_buffer_logger_get_logs` in crate `gst`
--> examples/src/bin/debug_ringbuffer.rs:77:19
|
77 | for s in gst::debug_ring_buffer_logger_get_logs().iter() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `gst`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
error: could not compile `examples`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Any idea what might go wrong?
Edited by Neil Young