VIM在安装完YCM之后出现错误的解决
2016-01-17 22:21
495 查看
在安装完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目录下,执行如下命令:
但是执行过程中错误如下:
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
按照提示进行:
执行完成后,再次执行命令:
又报错错误信息:
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.
执行如下命令
然后在执行:
结果为:
vim问题ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected解决
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.
执行如下命令
./install.sh --clang-completer --system-libclang
然后在执行:
./install.sh --clang-completer
结果为:
vim问题ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected解决
相关文章推荐
- VIM编译器显示TAB和TAB转换为空格
- 菜鸟说给菜鸟听之VIM--入门篇(1)
- cygwin下vim方向键不好用的解决方案
- 安装使用Ubuntu之vim必须知道的细节
- Ruby学习笔记二帮助生成Vim添加代码头的代码
- PHP工程师VIM配置分享
- ruby开发vim插件小结
- VIM中设置php自动缩进为4个空格的方法详解
- Vim命令高级用法
- linux Vim基本操作方法
- 手把手教你将Vim改装成一个IDE编程环境(图文) 吴垠
- 搭建Vim为自定义的PHP开发工具的一些技巧
- 使用python开发vim插件及心得分享
- linux系统中使用Vim删除偶数行或者奇数行
- Mac 配置VIM插件 提示"E492:Not an editor command:^M"
- vim配置文件
- Vim编辑器快捷键
- vim的配置(自动缩进,语法高亮等)
- [Linux学习笔记] Linux文本编辑器Vim/Vi
- VIM 去掉~M符号