-
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
make ycm_core
fails – “LONG_BIT definition appears wrong for platform”
#66
Comments
Duplicate issue #6 I think. See that issue for details. Basically the problem is that cmake is picking up one version of the python dylib and a separate version of python for the headers. Here's the culprit: If you want to re-call cmake, don't forget that you need to delete everything in your build directory first, otherwise cmake will re-use the old state. |
Crap I meant issue #18. |
You should probably add the following flags to your cmake call:
This will force the paths to the python include dir and the python library to use. |
I'm trying to install YCM in cygwin64 on a x86_64 machine and got stuck. The first error message was
and brought me to this thread. I've tried to work around with
but this did not help. (CMake configuration reports the same libs if not provided explicitly anyway.) Then I've tried to reset the compilers CMake uses: using -DCMAKE_C_COMPILER and -DCMAKE_CXX_COMPILER, I've set the compilers first to /usr/bin/x86_64-pc-cygwin-gcc and /usr/bin/x86_64-pc-cygwin-g++, respectively; then to /usr/bin/i686-pc-cygwin-gcc and /usr/bin/i686-pc-cygwin-g++. But now I get:
Do you have any ideas or experience on how to fix this? |
@whitedwarfsun I had the same problem, getting the In my specific case it was this command, in your case the paths might be different:
Then I ran the Hope this helps anyone! |
cp /usr/include/boost/python/detail/wrap_python.hpp ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/boost/python/detail/wrap_python.hpp |
@gitaarik This solution dosen't work on my cygwin. My python version is 2.7.10 and gcc is 5.2 , the clang is downloaded by the install.py automatically. I try many ways but everything goes wrong. It seems that I have to use a VM for vim. |
@zuoxinyu why don't you compile YCM with MSVC? |
…ed_libclang Fix a issue that libclang.dylib won't be loaded when it is linked with libLLVM dynamically
I installed the plugin with Vundle, but when I follow the Mac OS X super-quick installation instructions, I eventually get an error at the step
make ycm_core
.I’m on Mac OS X 10.6. I’m using the latest MacVim, Version 7.3 (53). Here’s the top of the output of
:version
in MacVim:My
gcc
version is “i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)”.Here is the full trace of my installation (with blank lines added between commands). I installed cmake earlier with
brew install cmake
. In the middle, when thecp
failed, that’s because I hadn’t installed the Vim bundle properly; when it worked the second time I ran it, I had run:BundleInstall
in MacVim.If I change the settings from compiling with semantic support for C-family languages to compiling without the support, I still get the error:
The text was updated successfully, but these errors were encountered: