-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
Trying to build coreaudio-sys on macOS 10.13 I get this:
$ cargo build
error: failed to run custom build command for `coreaudio-sys v0.2.0 (file:///Users/<snip>/Downloads/coreaudio-sys)`
process didn't exit successfully: `/Users/<snip>/Downloads/coreaudio-sys/target/debug/build/coreaudio-sys-da31a326d38f965f/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=framework=AudioToolbox
cargo:rustc-link-lib=framework=AudioUnit
cargo:rustc-link-lib=framework=CoreAudio
cargo:rustc-link-lib=framework=OpenAL
cargo:rustc-link-lib=framework=CoreMIDI
--- stderr
error: header '/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h' does not exist.
thread 'main' panicked at 'unable to generate bindings: ()', src/libcore/result.rs:916:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Peeking into any of the frameworks located in /System/Library/Frameworks/… one finds that that there are in fact no headers to be found anywhere inside.
Having installed Xcode however one finds them buried deep down inside of Xcode.app:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/… (MacOSX being one of AppleTVOS, AppleTVSimulator, iPhoneOS, iPhoneSimulator, MacOSX, WatchOS, WatchSimulator, …)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels