但是,现在我想尝试AutoCompletion(主要使用C和golang),因此了解了插件YouCompleteMe.
我阅读完整的说明并逐步复制它们到目前为止我理解它们.但是当我知道启动Vim时,我收到以下错误消息:
The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines):
当然我用Google搜索了,我在github上发现了一些封闭的问题,但我没有找到解决方案.有一个陈述,其意义我不理解:
You Could also force the use of a custom libclang library with -DEXTERNAL_LIBCLANG_PATH=/path/to/libclang.so flag (the library would end with .dylib on a Mac). Again,this flag would be used instead of the other flags. If you compiled LLVM from source,this is the flag you should be using.
那里的大胆句子,是否意味着,我不使用系统clang / llvm(而不是下载的二进制文件,我想要C的语义支持),必须使用DEXTERNAL ….标志?
我用这个命令来构建makefile:
cmake -G "Unix Makefiles" -dpath_TO_LLVM_ROOT=~/ycm_temp/llvm_root_dir . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
编辑:我在github上打开了this issue.有很多信息.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。