vim问题ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected解决

在安装完YCM之后,重新打开vim还会出现如下的报错信息:
ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it. Read the docs!
这个需要到~/.vim/bundle/YouCompleteMe,你的YCM目录下,加入如下命令解决:
./install.sh --clang-completer 
但是执行过程中错误如下:
Some folders in /home/sky-tm/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party are empty; you probably forgot to run:    git submodule update --init --recursive
遇错解错,按照提示按照呗:
git submodule update --init --recursive
等执行完成后,再次执行命令
./install.sh --clang-completer
又报错了!!!!
Your C++ compiler supports C++11, compiling in that mode.
Downloading Clang 3.5
CMake Error at ycm/CMakeLists.txt:62 (message):
No pre-built Clang 3.6 binaries for 32 bit linux. You'll have to compile
Clang 3.6 from source. See the YCM docs for details on how to use a
user-compiled libclang.
执行如下命令解决,按照clang
./install.sh --clang-completer --system-libclang
然后在执行:
./install.sh --clang-completer
结果为: [attach]614[/attach] build成功了!终于解决了!

0 个评论

要回复文章请先登录注册