来自https://github.com/Valloric/YouCompleteMe#ubuntu-linux-x64
我跑了
./install.py --clang-completer --omnisharp-completer --gocode-completer
我正在使用Ubuntu Trusty 14 LTSS
并收到以下错误:(完全转储:http://sprunge.us/COVL)
/root/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/boost/type_traits/detail/ice_eq.hpp:17:71:注意:#ppma message:注意:使用此标题(ice_eq。 hpp)已被弃用 #pragma message(“注意:不推荐使用此标题(ice_eq.hpp)”)`
Vim和Vundle的一般指南:https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/
有什么想法吗?
答案 0 :(得分:2)
尝试安装YCM时,RAM耗尽。最简单的方法是杀死任何其他RAM密集型进程。如果这不起作用,则需要添加交换空间。 Here's a good guide用于在Ubuntu上添加交换空间,尽管其他Linux发行版的步骤非常相似。简而言之:
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
您可以通过运行free -m
验证其是否有效。