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

[macOS 10.9] Build script panic!s with 'main' panicked at 'function not loaded: clang_Type_getNumTemplateArguments' #18

Open
mitchmindtree opened this issue Jul 5, 2018 · 1 comment
Labels

Comments

@mitchmindtree
Copy link
Member

One of our workshop members ran into this bug last night:

error: failed to run custom build command for `coreaudio-sys v0.2.2`
process didn't exit successfully: `/Users/disuba/nannou/target/release/build/coreaudio-sys-8c91f3c1127ded1c/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=framework=AudioUnit
cargo:rustc-link-lib=framework=CoreAudio

--- stderr
thread 'main' panicked at 'function not loaded: clang_Type_getNumTemplateArguments', /Users/disuba/.cargo/registry/src/github.com-1ecc6299db9ec823/clang-sys-0.21.2/src/lib.rs:1456:1
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

I didn't get a lot of time to dig more into the error with them, however I just thought I'd post this here for now in case another user comes across the same issue with more info.

The user said they were running OSX 10.9.

@mitchmindtree
Copy link
Member Author

Perhaps this recent-ish commit in rust-bindgen could be related? Perhaps the solution to this particular bug is simply updating bindgen from 0.32 to the current version 0.37?

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

No branches or pull requests

1 participant