gpt4 book ai didi

python - 为 vim 编译 YouCompleteMe 时出错

转载 作者:行者123 更新时间:2023-11-30 03:43:06 24 4
gpt4 key购买 nike

来自 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: note: #pragma message: NOTE: Use of this header (ice_eq.hpp) is deprecated # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated")`

Vim 和 Vundle 通用指南:https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/

有什么想法吗?

最佳答案

您在尝试安装 YCM 时内存不足。解决它的最简单方法是终止任何其他 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 来验证它是否有效。

关于python - 为 vim 编译 YouCompleteMe 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36324165/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com