-
Notifications
You must be signed in to change notification settings - Fork 67
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
Header search path failure on 1.8.2 (works in 1.8.1) related to clang executable search order changes #181
Comments
I'm encountered same issue on MacOS ` --- stderr |
Looks like include headers that were previously found are no longer in the search path, which is breaking things on GHA too. For those looking for a hotfix:
|
I have the same issue.
|
One day I'll learn my lesson and stop trying to make this crate better... |
Thanks for the quick action @KyleMayes ! Hopefully, it doesn't dissuade you from improving the crate... P.S. |
I'm using autocxx to generate some bindings to a C++ library. autocxx enables the
runtime
feature of this crate unconditionally, something which will hopefully be improved.As of this change, released in 1.8.2, my bindings always fail to generate unless I set
CLANG_PATH=$(which clang)
to override the above search order, because the bundled libclang fails to find some macOS system headers.I'm not sure if this is something to be fixed here or not, as I don't fully understand why the bundled libclang doesn't work. But I suspect this problem affects others on macOS too.
The text was updated successfully, but these errors were encountered: