mirror of
https://github.com/ziglang/zig.git
synced 2025-02-16 09:30:17 +00:00
Document how to fix building on Ubuntu regarding having to install libclang explicitly.
parent
57d8a2e114
commit
a3fa0b2421
@ -16,4 +16,14 @@ different one, for example GCC vs clang.
|
||||
|
||||
LLVM, Clang, and Zig must all be compiled with the same C++ compiler.
|
||||
|
||||
---
|
||||
#### Unable to find clang on Ubuntu, despite having installed it
|
||||
|
||||
This is because you need--for some reason--to install libclang explicitly.
|
||||
|
||||
You can do this with the following command:
|
||||
```
|
||||
sudo apt-get install libclang-8-dev
|
||||
```
|
||||
Note that the `8` should match LLVM's version.
|
||||
At the time of writing in August 2019, this is LLVM 8.
|
Loading…
Reference in New Issue
Block a user