-
Notifications
You must be signed in to change notification settings - Fork 717
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
Documentation around libclang version is confusing #2446
Comments
I find this very confusing as However, this panic is happening inside pub unsafe fn $name($($pname: $pty), *) $(-> $ret)* {
let f = with_library(|l| {
l.functions.$name.expect(concat!(
"`libclang` function not loaded: `",
stringify!($name),
"`. This crate requires that `libclang` 3.9 or later be installed on your ",
"system. For more information on how to accomplish this, see here: ",
"https://rust-lang.github.io/rust-bindgen/requirements.html#installing-clang-39"))
}).expect("a `libclang` shared library is not loaded on this thread");
f($($pname), *)
} Which gives me the impression that I suspect this is a However, I'm not familiar with |
I just released The error message for the issue from the
|
error came up using during an install, and was guided to post here
During an installation, with libclang-3.9 installed, the installer errors with libclang 3.9 or later is needed
The docs (referenced as installing-clang-39) then state It is required to use Clang 5.0 or greater ... clarification of this in the installer output would make troubleshooting a bit more straightforward.
Actual Results
Expected Results
Update the output to properly reference the libclang-5.0 dependency
Steps
resolution
apt-get install libclang-5.0-dev
The text was updated successfully, but these errors were encountered: