Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on OS X 10.11.6 #9

Closed
hfaulds opened this issue May 7, 2018 · 6 comments
Closed

Build error on OS X 10.11.6 #9

hfaulds opened this issue May 7, 2018 · 6 comments

Comments

@hfaulds
Copy link

hfaulds commented May 7, 2018

I don't know if older versions of OS X are supported but #6 has broken the build for me on El Capitan (10.11.6). I guess they moved the headers on more recent versions of the OS but left them in place on older versions.

@Rhuagh
Copy link
Collaborator

Rhuagh commented May 10, 2018

UGH.

@Rhuagh
Copy link
Collaborator

Rhuagh commented May 10, 2018

Some output would be helpful.

@Rhuagh
Copy link
Collaborator

Rhuagh commented May 10, 2018

And what does xcode-select -p say?

@hfaulds
Copy link
Author

hfaulds commented May 13, 2018

@Rhuagh:

Happy to try and help, although I have very little experience with these kinds of problems.

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
$ cargo build
   Compiling void v1.0.2
   Compiling libc v0.2.40
   Compiling cfg-if v0.1.3
   Compiling glob v0.2.11
   Compiling regex v0.2.11
   Compiling libloading v0.4.3
   Compiling ucd-util v0.1.1
   Compiling lazy_static v1.0.0
   Compiling unicode-width v0.1.4
   Compiling utf8-ranges v1.0.0
   Compiling unicode-xid v0.1.0
   Compiling bitflags v1.0.3
   Compiling ansi_term v0.11.0
   Compiling strsim v0.7.0
   Compiling vec_map v0.8.0
   Compiling bindgen v0.32.3
   Compiling peeking_take_while v0.1.2
   Compiling log v0.4.1
   Compiling unreachable v1.0.0
   Compiling memchr v2.0.1
   Compiling memchr v1.0.2
   Compiling atty v0.2.10
   Compiling which v1.0.5
   Compiling regex-syntax v0.5.6
   Compiling clang-sys v0.21.2
   Compiling textwrap v0.9.0
   Compiling proc-macro2 v0.2.3
   Compiling thread_local v0.3.5
   Compiling aho-corasick v0.6.4
   Compiling log v0.3.9
   Compiling nom v3.2.1
   Compiling clap v2.31.2
   Compiling quote v0.4.2
   Compiling cexpr v0.2.3
   Compiling env_logger v0.4.3
   Compiling coreaudio-sys v0.2.0 (file:///Users/haydenfaulds/projects/coreaudio-sys)
error: failed to run custom build command for `coreaudio-sys v0.2.0 (file:///Users/haydenfaulds/projects/coreaudio-sys)`
process didn't exit successfully: `/Users/haydenfaulds/projects/coreaudio-sys/target/debug/build/coreaudio-sys-d9cf5c2e5c9e79ac/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
//Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:21:10: fatal error: 'os/availability.h' file not found
//Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:21:10: fatal error: 'os/availability.h' file not found, err: true
thread 'main' panicked at 'unable to generate bindings: ()', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

@Rhuagh
Copy link
Collaborator

Rhuagh commented May 18, 2018

@hfaulds Could you try out #11 ?

@hfaulds
Copy link
Author

hfaulds commented May 19, 2018

@Rhuagh that fixed the build for me, thanks a bunch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants