Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac安装 #368

Open
YunYang1994 opened this issue Jul 26, 2019 · 2 comments
Open

mac安装 #368

YunYang1994 opened this issue Jul 26, 2019 · 2 comments

Comments

@YunYang1994
Copy link

你好,我用这个vim配置很久了,但是最近发现在mac上安装出现了问题

CMake Error: The source directory "/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/cregex" does not appear to contain CMakeLists.txt.

请问有解决的思路吗?

@wklken
Copy link
Owner

wklken commented Jul 26, 2019

cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive

python install.py --clang-completer --system-libclang
or 
python install.py --clang-completer

这个报错应该是你本地拉到的ycm的third_party中部分包有问题, 尝试更新下

@YunYang1994
Copy link
Author

YunYang1994 commented Jul 26, 2019

Cloning into '/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/go/src/golang.org/x/tools'...
fatal: unable to access 'https://go.googlesource.com/tools/': Failed to connect to go.googlesource.com port 443: Operation timed out
fatal: clone of 'https://go.googlesource.com/tools' into submodule path '/Users/yangyun/k-vim/bundle/YouCompleteMe/third_party/ycmd/third_party/go/src/golang.org/x/tools' failed
Failed to clone 'third_party/go/src/golang.org/x/tools'. Retry scheduled

好像一直下载不了,即使我用翻墙软件也没下载成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants