Update Clang version in documentation

This commit is contained in:
micbou 2016-04-05 17:13:43 +02:00
parent 9f92f530d4
commit 4824b8fd4b
2 changed files with 12 additions and 20 deletions

View File

@ -516,10 +516,10 @@ process.
**Download the latest version of `libclang`**. Clang is an open-source
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
those languages. YCM is designed to work with libclang version 3.6 or
higher, but can in theory work with any 3.2+ version as well.
those languages. YCM is designed to work with libclang version 3.8 or
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
binaries from llvm.org][clang-download] if at all possible. Make sure you
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
at least a 3.2 libclang. Some distros ship with a system `libclang.so` that
identifies itself as 3.2 but is not; it was cut from the upstream sources before
the official 3.2 release and some API changes (like the addition of the
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.
at least a 3.8 libclang. Just go through the installation guide and make sure
you are using a correct `libclang.so`. We recommend downloading prebuilt
binaries from llvm.org.
### I get `Fatal Python error: PyThreadState_Get: no current thread` on startup

View File

@ -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
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 those languages. YCM is designed to work with libclang version 3.6 or
higher, but can in theory work with any 3.2+ version as well.
for those languages. YCM is designed to work with libclang version 3.8 or
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
official binaries from llvm.org [32] if at all possible. Make sure you
download the correct archive file for your OS.
@ -2773,13 +2773,9 @@ crashes:
undefined symbol: clang_CompileCommands_dispose
<
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
identifies itself as 3.2 but is not; it was cut from the upstream sources
before the official 3.2 release and some API changes (like the addition of the
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.
at least a 3.8 libclang. Just go through the installation guide and make sure
you are using a correct 'libclang.so'. We recommend downloading prebuilt
binaries from llvm.org.
-------------------------------------------------------------------------------
*Fatal-Python-error:-PyThreadState_Get:-no-current-thread*