博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Error】vimplus安装报错 clang: error: linker command failed with exit code 1 (use -v to see invocation)
阅读量:4207 次
发布时间:2019-05-26

本文共 793 字,大约阅读时间需要 2 分钟。

今天又重装了一下vimplus插件,但是安装之后闪退。看了一下log发现是youcompleteme插件的问题,一不小心关了terminal就不贴log了。看了官方repo中的讨论,发现有很多人遇到这个问题,重新reset到旧版本解决了。暂且记录安装方法。

# 安装youcompleteme插件cd ~/.vim/bundle/rm -rf YouCompleteMegit clone https://github.com/Valloric/YouCompleteMe.gitcd ~/.vim/bundle/YouCompleteMegit reset --hard 31b6d942git submodule update --init --recursive./install.py --clang-completer

如果遇到错误,需要重新执行git sumodule update --init --recursive

YouCompleteMe unavailable: 'module' object has no attribute 'AddNearestThirdPartyFoldersToSysPath

在ubuntu上安装时遇到错误:

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM b efore using it. Follow the instructions in the documentation.

解决办法,重新进入youcompleteme目录安装一下就可以了:

cd ~/.vim/bundle/YouCompleteMe./install.py

参考:

转载地址:http://xgmli.baihongyu.com/

你可能感兴趣的文章
终端驱动程序:几个简单例子
查看>>
登录linux密码验证很慢的解决办法
查看>>
fcntl函数总结
查看>>
HTML条件注释
查看>>
Putty远程服务器的SSH经验
查看>>
内核态与用户态
查看>>
使用mingw(fedora)移植virt-viewer
查看>>
趣链 BitXHub跨链平台 (4)跨链网关“初介绍”
查看>>
C++ 字符串string操作
查看>>
MySQL必知必会 -- 了解SQL和MySQL
查看>>
MySQL必知必会 -- 使用MySQL
查看>>
MySQL必知必会 -- 数据检索
查看>>
MySQL必知必会 -- 排序检索数据 ORDER BY
查看>>
MySQL必知必会 -- 数据过滤
查看>>
MYSQL必知必会 -- 用通配符进行过滤
查看>>
MYSQL必知必会 -- 用正则表达式进行搜索
查看>>
MySQL必知必会 -- 创建计算字段
查看>>
MySQL必知必会 -- 使用数据处理函数
查看>>
MySQL必知必会 -- 数据汇总
查看>>
MySQL必知必会 -- 子查询的使用
查看>>