You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
I know that there is already an issue regarding this. I tried to post on that issue, but however I cant post it there. I want to use YCM mostly for C and golang-dev .Here are are some information: OS: Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux Vim-Version: 2:7.4.488-7 Python-Version: 2.7.9-1
I always get the message:
The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines)
Equally, if I change the ycm_python_path in the .vimrc (which python-version should I reference there? I have 2.7.x, python, and python 3.x)?
Steps to reproduce
Edit your .vimrc, add the line Plugin 'Valloric/YouCompleteMe and save it.
Go again into vim, type :PluginInstall.
Wait until Vundle says it's done / You get the message that you should compile it.
Extract the content (the folders) into ~/ycm_temp/llvm_root_dir/
cd to ~/ycm_build.
Execute cmake -G "Unix Makefiles" -DPATH_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp.
The output I got said that all went successful:
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Your C++ compiler supports C++11, compiling in that mode.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.9", minimum required is "2.6")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.9", minimum required is "2.6")
Using libclang to provide semantic completion for C/C++/ObjC
Using external libclang: /home/patrick/ycm_temp/llvm_root_dir/lib/libclang.so
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.9")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/patrick/ycm_build
(8). Execute make ycm_support_libs.
The output I got is basically:
Scanning dependencies of target BoostParts
[...]
Linking CXX static library libBoostParts.a
[ 75%] Built target BoostParts
Scanning dependencies of target ycm_client_support
Linking CXX shared library /home/patrick/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so
[100%] Built target ycm_core
Scanning dependencies of target ycm_support_libs
[100%] Built target ycm_support_libs
(9). Open a .c file. You should see the message *The ycmd server SHUT DOWN[...]
Debug-Log:
-- Server crashed, no debug info from server
-- Server running at: http://127.0.0.1:59344
-- Server process ID: 4787
The text was updated successfully, but these errors were encountered:
Feve2
changed the title
YcmRestartServer constantly shutting down
Bug(?): YcmRestartServer constantly shutting down
Sep 14, 2015
I think this is related to #1686. Could you copy the library file libclang.so.3.7 from ~/ycm_temp/llvm_root_dir/lib to the ycmd root folder ~/.vim/bundle/YouCompleteMe/third_party/ycmd and try again?
Hello there,
I know that there is already an issue regarding this. I tried to post on that issue, but however I cant post it there. I want to use YCM mostly for C and golang-dev .Here are are some information:
OS: Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux
Vim-Version: 2:7.4.488-7
Python-Version: 2.7.9-1
I always get the message:
The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines)
Equally, if I change the ycm_python_path in the .vimrc (which python-version should I reference there? I have 2.7.x, python, and python 3.x)?
Steps to reproduce
.vimrc
, add the linePlugin 'Valloric/YouCompleteMe
and save it.:PluginInstall
.~/ycm_temp/llvm_root_dir/
~/ycm_build
.cmake -G "Unix Makefiles" -DPATH_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
.The output I got said that all went successful:
(8). Execute
make ycm_support_libs
.The output I got is basically:
(9). Open a .c file. You should see the message *The ycmd server SHUT DOWN[...]
Debug-Log:
The text was updated successfully, but these errors were encountered: