现在的位置: 首页 > 综合 > 正文

opensuse下安装completeme

2018年05月06日 ⁄ 综合 ⁄ 共 369字 ⁄ 字号 评论关闭

这玩意折腾了一下午,具体安装步骤如下:

Step 1:
edit .vimrc, add:
Bundle "https://github.com/Valloric/YouCompleteMe.git"

Step 2:
open a new vim and run:
:BundleInstall

Step 3:
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer

安装过程有参考cmake的方法,直接make ycm_core,但是安装完后就提示:

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!

郁闷坏了,随意最简单的方法还是上面的步骤。

抱歉!评论已关闭.