Update Clang version in documentation
This commit is contained in:
parent
9f92f530d4
commit
4824b8fd4b
16
README.md
16
README.md
@ -516,10 +516,10 @@ process.
|
|||||||
**Download the latest version of `libclang`**. Clang is an open-source
|
**Download the latest version of `libclang`**. Clang is an open-source
|
||||||
compiler that can compile C/C++/Objective-C/Objective-C++. The `libclang`
|
compiler that can compile C/C++/Objective-C/Objective-C++. The `libclang`
|
||||||
library it provides is used to power the YCM semantic completion engine for
|
library it provides is used to power the YCM semantic completion engine for
|
||||||
those languages. YCM is designed to work with libclang version 3.6 or
|
those languages. YCM is designed to work with libclang version 3.8 or
|
||||||
higher, but can in theory work with any 3.2+ version as well.
|
higher.
|
||||||
|
|
||||||
You can use the system libclang _only if you are sure it is version 3.3 or
|
You can use the system libclang _only if you are sure it is version 3.8 or
|
||||||
higher_, otherwise don't. Even if it is, we recommend using the [official
|
higher_, otherwise don't. Even if it is, we recommend using the [official
|
||||||
binaries from llvm.org][clang-download] if at all possible. Make sure you
|
binaries from llvm.org][clang-download] if at all possible. Make sure you
|
||||||
download the correct archive file for your OS.
|
download the correct archive file for your OS.
|
||||||
@ -2524,13 +2524,9 @@ undefined symbol: clang_CompileCommands_dispose
|
|||||||
```
|
```
|
||||||
|
|
||||||
This means that Vim is trying to load a `libclang.so` that is too old. You need
|
This means that Vim is trying to load a `libclang.so` that is too old. You need
|
||||||
at least a 3.2 libclang. Some distros ship with a system `libclang.so` that
|
at least a 3.8 libclang. Just go through the installation guide and make sure
|
||||||
identifies itself as 3.2 but is not; it was cut from the upstream sources before
|
you are using a correct `libclang.so`. We recommend downloading prebuilt
|
||||||
the official 3.2 release and some API changes (like the addition of the
|
binaries from llvm.org.
|
||||||
CompileCommands API) were added after their cut.
|
|
||||||
|
|
||||||
So just go through the installation guide and make sure you are using a correct
|
|
||||||
`libclang.so`. I recommend downloading prebuilt binaries from llvm.org.
|
|
||||||
|
|
||||||
|
|
||||||
### I get `Fatal Python error: PyThreadState_Get: no current thread` on startup
|
### I get `Fatal Python error: PyThreadState_Get: no current thread` on startup
|
||||||
|
@ -729,10 +729,10 @@ will notify you to recompile it. You should then rerun the install process.
|
|||||||
**Download the latest version of 'libclang'**. Clang is an open-source
|
**Download the latest version of 'libclang'**. Clang is an open-source
|
||||||
compiler that can compile C/C++/Objective-C/Objective-C++. The 'libclang'
|
compiler that can compile C/C++/Objective-C/Objective-C++. The 'libclang'
|
||||||
library it provides is used to power the YCM semantic completion engine
|
library it provides is used to power the YCM semantic completion engine
|
||||||
for those languages. YCM is designed to work with libclang version 3.6 or
|
for those languages. YCM is designed to work with libclang version 3.8 or
|
||||||
higher, but can in theory work with any 3.2+ version as well.
|
higher.
|
||||||
|
|
||||||
You can use the system libclang _only if you are sure it is version 3.3
|
You can use the system libclang _only if you are sure it is version 3.8
|
||||||
or higher_, otherwise don't. Even if it is, we recommend using the
|
or higher_, otherwise don't. Even if it is, we recommend using the
|
||||||
official binaries from llvm.org [32] if at all possible. Make sure you
|
official binaries from llvm.org [32] if at all possible. Make sure you
|
||||||
download the correct archive file for your OS.
|
download the correct archive file for your OS.
|
||||||
@ -2773,13 +2773,9 @@ crashes:
|
|||||||
undefined symbol: clang_CompileCommands_dispose
|
undefined symbol: clang_CompileCommands_dispose
|
||||||
<
|
<
|
||||||
This means that Vim is trying to load a 'libclang.so' that is too old. You need
|
This means that Vim is trying to load a 'libclang.so' that is too old. You need
|
||||||
at least a 3.2 libclang. Some distros ship with a system 'libclang.so' that
|
at least a 3.8 libclang. Just go through the installation guide and make sure
|
||||||
identifies itself as 3.2 but is not; it was cut from the upstream sources
|
you are using a correct 'libclang.so'. We recommend downloading prebuilt
|
||||||
before the official 3.2 release and some API changes (like the addition of the
|
binaries from llvm.org.
|
||||||
CompileCommands API) were added after their cut.
|
|
||||||
|
|
||||||
So just go through the installation guide and make sure you are using a correct
|
|
||||||
'libclang.so'. I recommend downloading prebuilt binaries from llvm.org.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
*Fatal-Python-error:-PyThreadState_Get:-no-current-thread*
|
*Fatal-Python-error:-PyThreadState_Get:-no-current-thread*
|
||||||
|
Loading…
Reference in New Issue
Block a user