wklken / k-vim

vim配置
4.89k stars 1.81k forks source link

install.sh 中编译 YCM 需要去掉 --system-libclang #356

Open johnwatsondev opened 5 years ago

johnwatsondev commented 5 years ago

Full Installation Guide 中有明确提示:

We STRONGLY recommend AGAINST use of the system libclang instead of the upstream compiled binaries. Random things may break. Save yourself the hassle and use the upstream pre-built libclang.

不然在 macOS 下会提示错误:Undefined symbols for architecture x86_64

LalZzy commented 5 years ago

 我在mac上安装时遇到了这个问题。 按照你的建议我修改了install.sh的源代码,成功安装上了。 又遇到了,这个ycm的问题。

https://github.com/Valloric/YouCompleteMe/issues/3165

按照提示操作后,最后终于可以正常打开vim了。

TaoRuan commented 5 years ago

报错 无法使用

Vim: Caught deadly signal SEGV
Error detected while processing function <SNR>143_PollServerReady[7]..<SNR>143_Pyeval:Vim: Finished.

line    4:
Exception MemoryError: MemoryError() in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'> ignored
[1]    59369 segmentation fault  vim