ycm_client_support.[so|pyd|dll] 和 ycm_core.[so|pyd|dll] 未检测到;使用前需要先编译YCM
ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it
编译过程中出错。如何解决?
根据 this 博客 post,您只需通过 YCM 安装中的 运行 install.sh
脚本编译 YouCompleteMe 模块。
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer
一旦完成,您应该可以安装插件(这里是 Vundle 的安装方法)。曾经在 Vim
:source ~/.vimrc
:PluginInstall
显然,当你 运行 ./.install.sh --clang-completer
它说它是 "out of date."
我 运行 python2 install.py
它对我有用。 (我相信是 python2。)
此外,我曾使用 vim 和 neovim,我决定在 ~/.vim/bundle/Vundle.vim/
和 中同时使用 ./install.sh --clang-completer
tim 决定在我的 ~/.configs/nvim/bundle/Vundle.vim/
中执行 python2 install.py
并且 python 安装安装得更快并且做了同样的事情。
区别 可能 是你需要 "compile vim with pdython support," 但简单的解决方法是安装 python-nvim
(如果使用 neovim ),或者 - 我认为 - vim 只是带有 python 支持。 (?也许吧。)
我在尝试新的 neovim 安装时遇到了同样的错误消息。就我而言,这是因为我使用的是 vim-plugin 并且插件安装在 ~/.vim/plugged
而不是 ~/.vim/bundle
(这是我切换到 [= 之前 Vundle 的插件文件夹) 19=]-插头).
因此,在挠头几个小时后,结果我必须 运行 install.sh
在 ~/.vim/plugged
(而不是 ~/.vim/bundle
)。我希望这会节省某人的时间。
编译过程中出错。如何解决?
根据 this 博客 post,您只需通过 YCM 安装中的 运行 install.sh
脚本编译 YouCompleteMe 模块。
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer
一旦完成,您应该可以安装插件(这里是 Vundle 的安装方法)。曾经在 Vim
:source ~/.vimrc
:PluginInstall
显然,当你 运行 ./.install.sh --clang-completer
它说它是 "out of date."
我 运行 python2 install.py
它对我有用。 (我相信是 python2。)
此外,我曾使用 vim 和 neovim,我决定在 ~/.vim/bundle/Vundle.vim/
和 中同时使用 ./install.sh --clang-completer
tim 决定在我的 ~/.configs/nvim/bundle/Vundle.vim/
中执行 python2 install.py
并且 python 安装安装得更快并且做了同样的事情。
区别 可能 是你需要 "compile vim with pdython support," 但简单的解决方法是安装 python-nvim
(如果使用 neovim ),或者 - 我认为 - vim 只是带有 python 支持。 (?也许吧。)
我在尝试新的 neovim 安装时遇到了同样的错误消息。就我而言,这是因为我使用的是 vim-plugin 并且插件安装在 ~/.vim/plugged
而不是 ~/.vim/bundle
(这是我切换到 [= 之前 Vundle 的插件文件夹) 19=]-插头).
因此,在挠头几个小时后,结果我必须 运行 install.sh
在 ~/.vim/plugged
(而不是 ~/.vim/bundle
)。我希望这会节省某人的时间。