-
Notifications
You must be signed in to change notification settings - Fork 47
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
Problem compiling #8
Comments
Same error is on Window 10 |
Well, on Windows 10 you can resolve this error by installing LLVM. |
Hi, same problem here on Ubuntu 18.04, so I installed llvm-dev and libclang-dev but it still didn't compile:
So I installed clang-9 and finally, it compiled correctly. |
Same error compiling in azure pipelines. I tried setup LIBCLANG_PATH var: - script: |
choco install llvm
setx PATH "C:\Program Files\LLVM\bin;%PATH%" /M
setx LIBCLANG_PATH "C:\Program Files\LLVM\bin" /M
echo $CARGO_HOME
echo %path:;=&echo.%
refreshenv
displayName: Install CLANG
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
cargo build --bin sync --release
env:
LIBCLANG_PATH: "C:\Program Files\LLVM\bin"
displayName: Cargo build Windows
condition: eq( variables['Agent.OS'], 'Windows_NT' ) |
Just because I ran into this several times in the past now. It's basically like @cereal-s suggested on Ubuntu-20.04, but with a twist:
|
I have the same error and I have installed LLVM |
Same issue |
LLVM and rust toolchain mast be identical (gnu - gnu or msvc - msvc) |
Hello, I was trying to use the crate for a project I am making, but It doesn't seem to compile, and gives this error message before exiting:
I am on ubuntu focal fossa and using stable rust. It seems that I need the libclang.so libraries. where can I download these from?
The text was updated successfully, but these errors were encountered: