-
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
Problems compiling the plugin #1
Comments
Tests are not being compiled successfully, which is not the end of the world (they should certainly compile and I'm looking into what might make them not compile for you, but you don't need the test executable to use YCM). Instead of just doing |
Oh, and please paste the full output of the initial |
And while we're at it, paste the output of |
This is the run with the system installed clang 3.2
|
Did running |
You are right - building just |
I am having some trouble using it with syntastic though:
This is my version information of vim:
|
WRT compile errors for the tests, don't worry about those; as long as ycm_core compiled, you're fine. WRT runtime errors, I noticed this line in your error output:
Are you sure you have copied your The other option is that the |
I just added the |
Not working with your latest changes either. I just tried with the clang 3.2 download again. The new command does not work either:
I fear I am missing something obvious here. |
Most peculiar... don't worry, we'll get to the bottom of it (if you're willing to keep debugging that is). The Open a fresh instance of Vim (no file loaded). Then run the following command I have a nagging feeling that Vim is picking up the wrong I just don't see why that specific symbol would be the one YCM borks on; if it couldn't find a I've personally had issues in the past with Vim picking up the system |
Also, go into the |
I was just able to reproduce this issue on one machine which means it will certainly be fixed; stand by. |
Yes, I can now confirm that this issue arises if you try to use a 3.1 libclang.so with YCM instead of a 3.2 one. I tested this by having a 3.1 libclang.so at Are you 100% sure that you have copied a 3.2 libclang.so into For the record, running
That is wrong; it's going to load the system one, which is 3.1. When I place the correct libclang.so in the same folder as ycm_core.so, I get this:
That is correct, it's going to load 3.2 libclang.so I downloaded from llvm.org. |
Finally it seems to work! I once again tried all different possibilities to pass the path to the clang lib. The On opening a C++ file I do get the following errors though:
Are these errors caused by the missing |
Yes, you need to have a Although |
I'm assuming you got it working. Please reopen and comment if otherwise. |
Fix failing javascript test
This is disabled by default as support for it varies. Cf. Cmake has unconditional out of tree support. Fixes ycm-core#1
Hi, I am having little success with compiling the ycm_core plugin:
I am running on x86_64 gentoo linux with gcc 4.4.7. I tried the system installed
clang 3.2
and the binaries on http://llvm.org/releases/download.html#3.2 without success.Even passing the full path to
libclang.so
via-DEXTERNAL_LIBCLANG_PATH
did not work either.Any ideas?
Cheers,
Gregor
The text was updated successfully, but these errors were encountered: