Closed crablab closed 6 years ago
This could be https://github.com/jnqnfe/pulse-binding-rust/issues/7, can you try cargo update
?
As workaround you can also compile without pulseaudio: cargo build --no-default-features
Unfortunately cargo update
does not help.
cargo build --no-default-features
works, however. What features will be missing?
Currently this only disables the pulseaudio support, see Cargo.toml.
Which version of libpulse
do you have?
I might also suggest modifying the libpulse-binding
dependency to
libpulse-binding = { optional = true, version = "2.2.3", default-features = false }
(hopefully) relevant output from apt search libpulse
:
libpulse-mainloop-glib0/bionic-updates,now 1:11.1-1ubuntu7.1 amd64 [installed]
PulseAudio client libraries (glib support)
libpulse0/bionic-updates,now 1:11.1-1ubuntu7.1 amd64 [installed]
PulseAudio client libraries
libpulsedsp/bionic-updates,now 1:11.1-1ubuntu7.1 amd64 [installed]
PulseAudio OSS pre-load library
Interestingly, using @atheriel's suggested modification made cargo build --release
compile successfully.
Thank you all for your time!
@SWW13 Do you have an objection to me making this change to Cargo.toml
? Are you planning to use the problematic feature in question?
The Cargo.toml
change LGTM.
I'm not using any of the pulseaudio encoding functions and don't see why we would need it them in the future.
Thank you both for this!
I have opened a PR with @atheriel's suggestion (it worked for me) :+1:
@SWW13 I think your most recent change may have broken something as I can no longer compile Master.
I'm no expert in Rust or Pulse Audio but it seems there might be a library missing?