Open dimitre opened 3 years ago
I have the same issue.
I had the same issue and I found a issue that is related this issue and PR. It says coreaudio-sys was fixed in 0.2.8.
RustAudio/coreaudio-sys/issues/47
I tried to update the version with this command.
cargo update -p coreaudio-sys --precise 0.2.8
However I got a next problem.
$cargo update -p coreaudio-sys --precise 0.2.8
Updating crates.io index
error: failed to select a version for `clang-sys`.
... required by package `bindgen v0.56.0`
... which is depended on by `coreaudio-sys v0.2.8`
... which is depended on by `coreaudio-rs v0.9.1`
... which is depended on by `cpal v0.13.1`
... which is depended on by `nannou_audio v0.15.0 (/Users/me/nannou/nannou_audio)`
... which is depended on by `examples v0.1.0 (/Users/me/nannou/examples)`
versions that meet the requirements `>=1.0.0, <2.0.0` are: 1.1.1, 1.1.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0
the package `clang-sys` links to the native library `clang`, but it conflicts with a previous package which links to `clang` as well:
package `clang-sys v0.29.0`
... which is depended on by `bindgen v0.54.0`
... which is depended on by `asio-sys v0.2.0`
... which is depended on by `cpal v0.13.1`
... which is depended on by `nannou_audio v0.15.0 (/Users/me/nannou/nannou_audio)`
... which is depended on by `examples v0.1.0 (/Users/me/nannou/examples)`
failed to select a version for `clang-sys` which could resolve this conflict
Hi.
I also ran into this same issue when updating to nannou v0.15.0.
error: failed to run custom build command for coreaudio-sys v0.2.6
This is what worked for me:
Executing the commands: $ cargo update
; then $ cargo clean
.
Everything compiled as normal after.
I'm running:
Thanks all for reporting and sharing workarounds!
@kmtr, the second issue you ran into sounds a lot like this particularly nasty one. It looks like clang-sys
recently released a 1.x
version, so hopefully we can coordinate an update for both the asio
and coreaudio-sys
clang-sys
dependencies in order to resolve this.
Platform macOS Big Sur 11.2.2, on Apple M1 Apologies in advance if there is something duplicate here. after pulling latest version today (Audrey crate to 0.3) and after installing cmake needed I've stumbled on this error: any ideas of how to fix it? thank you