-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
-DUSE_SYSTEM_LIBCLANG=ON
fails
#11
Comments
There's not much I can say. CMake fails to locate a That is either an issue with CMake or with the location where your system Still, you got it working, that's good. Don't forget to copy that |
Perhaps looking for Also, wouldn't it be more helpful to symlink libclang rather than copy it, so you continue to use the system's version? Is there a good reason it needs to be copied, rather than a user providing a path to where it is on their system? |
+1 @Ivoz, that would be better indeed. |
@Ivoz ycm_core.so has an RPATH set making it first look in its own directory for libclang.so. This is done so that the user can override the use of the system libclang.so if need (say, it's too old, like it is on my machine). You can certainly skip the copy-libclang-to-python folder step if you wish. If you have a system libclang.so in the right place, ycm_core.so will find it. The install guide recommends copying it over to |
I just pushed a commit for the can't-find-system-libclang-on-Arch issue; if someone with an Arch system could test this out, that would be great. |
This works. Thanks.
|
Allow '*' in ycm_filetype_specific_completion_to_disable.
These flags are redundant for the Linux kernel (*.tmp and /dev/null are also present in all relevant cases), but some projects use them for all files. Fixes ycm-core#11
first, install libclang: apt-get install clang. root@ubuntu:~/.vim/bundle/YouCompleteMe# ./install.py --clang-completer --gocode-completer --system-libclang |
I'm on Arch with LLVM v3.2.5. Using system clang fails, but using path_to_llvm_root to point at system clang works.
The text was updated successfully, but these errors were encountered: