- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经通过 brew 安装了 Cmake 并查看了错误跟踪器和其他有这个问题的人,但我没有找到任何有我问题的人。这是输出中的错误:
Linking CXX shared library /Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so
ld: warning: ignoring file ../clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so.3.7, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): ../clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so.3.7
Undefined symbols for architecture x86_64:
"_clang_Comment_getKind", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_CompilationDatabase_dispose", referenced from:
YouCompleteMe::CompilationDatabase::~CompilationDatabase() in CompilationDatabase.cpp.obj
YouCompleteMe::CompilationDatabase::~CompilationDatabase() in CompilationDatabase.cpp.obj
"_clang_CompilationDatabase_fromDirectory", referenced from:
YouCompleteMe::CompilationDatabase::CompilationDatabase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompilationDatabase_getCompileCommands", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommand_getArg", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommand_getDirectory", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommand_getNumArgs", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommands_dispose", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommands_getCommand", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_CompileCommands_getSize", referenced from:
YouCompleteMe::CompilationDatabase::GetCompilationInfoForFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in CompilationDatabase.cpp.obj
"_clang_Cursor_getBriefCommentText", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_Cursor_getParsedComment", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_Cursor_getRawCommentText", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_Cursor_isNull", referenced from:
YouCompleteMe::CursorIsValid(CXCursor) in ClangUtils.cpp.obj
"_clang_FullComment_getAsXML", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_codeCompleteAt", referenced from:
YouCompleteMe::TranslationUnit::CandidatesForLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&) in TranslationUnit.cpp.obj
"_clang_createIndex", referenced from:
YouCompleteMe::ClangCompleter::ClangCompleter() in ClangCompleter.cpp.obj
YouCompleteMe::ClangCompleter::ClangCompleter() in ClangCompleter.cpp.obj
"_clang_defaultCodeCompleteOptions", referenced from:
YouCompleteMe::TranslationUnit::CandidatesForLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&) in TranslationUnit.cpp.obj
"_clang_defaultDiagnosticDisplayOptions", referenced from:
YouCompleteMe::(anonymous namespace)::FullDiagnosticText(void*) in ClangHelpers.cpp.obj
"_clang_defaultEditingTranslationUnitOptions", referenced from:
YouCompleteMe::TranslationUnit::TranslationUnit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, void*) in TranslationUnit.cpp.obj
"_clang_defaultReparseOptions", referenced from:
YouCompleteMe::TranslationUnit::TranslationUnit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, void*) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::Reparse(std::__1::vector<CXUnsavedFile, std::__1::allocator<CXUnsavedFile> >&) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::Reparse(std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&) in TranslationUnit.cpp.obj
"_clang_disposeCodeCompleteResults", referenced from:
YouCompleteMe::TranslationUnit::CandidatesForLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&) in TranslationUnit.cpp.obj
"_clang_disposeDiagnostic", referenced from:
YouCompleteMe::TranslationUnit::UpdateLatestDiagnostics() in TranslationUnit.cpp.obj
"_clang_disposeIndex", referenced from:
YouCompleteMe::ClangCompleter::~ClangCompleter() in ClangCompleter.cpp.obj
YouCompleteMe::ClangCompleter::~ClangCompleter() in ClangCompleter.cpp.obj
"_clang_disposeString", referenced from:
YouCompleteMe::CXStringToString(CXString) in ClangUtils.cpp.obj
"_clang_disposeTokens", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_disposeTranslationUnit", referenced from:
YouCompleteMe::TranslationUnit::Destroy() in TranslationUnit.cpp.obj
"_clang_equalTypes", referenced from:
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_formatDiagnostic", referenced from:
YouCompleteMe::(anonymous namespace)::FullDiagnosticText(void*) in ClangHelpers.cpp.obj
"_clang_getCString", referenced from:
YouCompleteMe::CXStringToString(CXString) in ClangUtils.cpp.obj
"_clang_getCanonicalCursor", referenced from:
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDocsForLocationInFile(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCanonicalType", referenced from:
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getChildDiagnostics", referenced from:
YouCompleteMe::(anonymous namespace)::FullDiagnosticText(void*) in ClangHelpers.cpp.obj
"_clang_getClangVersion", referenced from:
YouCompleteMe::ClangVersion() in ClangUtils.cpp.obj
"_clang_getCompletionAvailability", referenced from:
YouCompleteMe::ToCompletionDataVector(CXCodeCompleteResults*) in ClangHelpers.cpp.obj
"_clang_getCompletionBriefComment", referenced from:
YouCompleteMe::CompletionData::CompletionData(CXCompletionResult const&) in CompletionData.cpp.obj
"_clang_getCompletionChunkCompletionString", referenced from:
YouCompleteMe::(anonymous namespace)::OptionalChunkToString(void*, unsigned int) in CompletionData.cpp.obj
"_clang_getCompletionChunkKind", referenced from:
YouCompleteMe::CompletionData::ExtractDataFromChunk(void*, unsigned int, bool&, bool&, bool&) in CompletionData.cpp.obj
YouCompleteMe::(anonymous namespace)::OptionalChunkToString(void*, unsigned int) in CompletionData.cpp.obj
"_clang_getCompletionChunkText", referenced from:
YouCompleteMe::CompletionData::ExtractDataFromChunk(void*, unsigned int, bool&, bool&, bool&) in CompletionData.cpp.obj
YouCompleteMe::(anonymous namespace)::OptionalChunkToString(void*, unsigned int) in CompletionData.cpp.obj
"_clang_getCursor", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetCursor(int, int) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDefinitionLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetEnclosingFunctionAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDocsForLocationInFile(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
...
"_clang_getCursorDefinition", referenced from:
YouCompleteMe::TranslationUnit::GetDefinitionLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCursorDisplayName", referenced from:
YouCompleteMe::TranslationUnit::GetEnclosingFunctionAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCursorExtent", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getCursorKind", referenced from:
YouCompleteMe::CursorIsValid(CXCursor) in ClangUtils.cpp.obj
YouCompleteMe::CursorIsReference(CXCursor) in ClangUtils.cpp.obj
YouCompleteMe::CursorIsDeclaration(CXCursor) in ClangUtils.cpp.obj
"_clang_getCursorLocation", referenced from:
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDefinitionLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCursorReferenced", referenced from:
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDocsForLocationInFile(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCursorSemanticParent", referenced from:
YouCompleteMe::TranslationUnit::GetEnclosingFunctionAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getCursorSpelling", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
"_clang_getCursorType", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getDiagnostic", referenced from:
YouCompleteMe::TranslationUnit::UpdateLatestDiagnostics() in TranslationUnit.cpp.obj
"_clang_getDiagnosticFixIt", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticInSet", referenced from:
YouCompleteMe::(anonymous namespace)::FullDiagnosticText(void*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticLocation", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticNumFixIts", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticNumRanges", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticRange", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticSeverity", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getDiagnosticSpelling", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getExpansionLocation", referenced from:
YouCompleteMe::Location::Location(CXSourceLocation const&) in ClangHelpers.cpp.obj
YouCompleteMe::Location::Location(CXSourceLocation const&) in Range.cpp.obj
YouCompleteMe::Location::Location(CXSourceLocation const&) in TranslationUnit.cpp.obj
"_clang_getFile", referenced from:
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetCursor(int, int) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDefinitionLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetEnclosingFunctionAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDocsForLocationInFile(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getFileName", referenced from:
YouCompleteMe::CXFileToFilepath(void*) in ClangUtils.cpp.obj
"_clang_getLocation", referenced from:
YouCompleteMe::TranslationUnit::GetDeclarationLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetCursor(int, int) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDefinitionLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetEnclosingFunctionAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
YouCompleteMe::TranslationUnit::GetDocsForLocationInFile(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_getNullCursor", referenced from:
YouCompleteMe::TranslationUnit::GetCursor(int, int) in TranslationUnit.cpp.obj
"_clang_getNumCompletionChunks", referenced from:
YouCompleteMe::CompletionData::CompletionData(CXCompletionResult const&) in CompletionData.cpp.obj
YouCompleteMe::(anonymous namespace)::OptionalChunkToString(void*, unsigned int) in CompletionData.cpp.obj
"_clang_getNumDiagnostics", referenced from:
YouCompleteMe::TranslationUnit::UpdateLatestDiagnostics() in TranslationUnit.cpp.obj
"_clang_getNumDiagnosticsInSet", referenced from:
YouCompleteMe::(anonymous namespace)::FullDiagnosticText(void*) in ClangHelpers.cpp.obj
"_clang_getRangeEnd", referenced from:
YouCompleteMe::Range::Range(CXSourceRange const&) in Range.cpp.obj
"_clang_getRangeStart", referenced from:
YouCompleteMe::Range::Range(CXSourceRange const&) in Range.cpp.obj
"_clang_getTokenLocation", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getTokenSpelling", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
"_clang_getTypeSpelling", referenced from:
YouCompleteMe::DocumentationData::DocumentationData(CXCursor const&) in Documentation.cpp.obj
YouCompleteMe::TranslationUnit::GetTypeAtLocation(int, int, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, bool) in TranslationUnit.cpp.obj
"_clang_isDeclaration", referenced from:
YouCompleteMe::CursorIsDeclaration(CXCursor) in ClangUtils.cpp.obj
"_clang_isInvalid", referenced from:
YouCompleteMe::CursorIsValid(CXCursor) in ClangUtils.cpp.obj
"_clang_isReference", referenced from:
YouCompleteMe::CursorIsReference(CXCursor) in ClangUtils.cpp.obj
"_clang_parseTranslationUnit", referenced from:
YouCompleteMe::TranslationUnit::TranslationUnit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<UnsavedFile, std::__1::allocator<UnsavedFile> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, void*) in TranslationUnit.cpp.obj
"_clang_reparseTranslationUnit", referenced from:
YouCompleteMe::TranslationUnit::Reparse(std::__1::vector<CXUnsavedFile, std::__1::allocator<CXUnsavedFile> >&, unsigned int) in TranslationUnit.cpp.obj
"_clang_toggleCrashRecovery", referenced from:
YouCompleteMe::ClangCompleter::ClangCompleter() in ClangCompleter.cpp.obj
YouCompleteMe::ClangCompleter::ClangCompleter() in ClangCompleter.cpp.obj
"_clang_tokenize", referenced from:
YouCompleteMe::BuildDiagnostic(boost::shared_ptr<void>, CXTranslationUnitImpl*) in ClangHelpers.cpp.obj
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so] Error 1
make[2]: *** [ycm/CMakeFiles/ycm_core.dir/all] Error 2
make[1]: *** [ycm/CMakeFiles/ycm_support_libs.dir/rule] Error 2
make: *** [ycm_support_libs] Error 2
Traceback (most recent call last):
File "/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 327, in <module>
Main()
File "/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 316, in Main
BuildYcmdLibs( args )
File "/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 261, in BuildYcmdLibs
subprocess.check_call( build_command )
File "/Users/danni/miniconda/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'ycm_support_libs', '--', '-j', '8']' returned non-zero exit status 2
Traceback (most recent call last):
File "./install.py", line 32, in <module>
Main()
File "./install.py", line 21, in Main
subprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )
File "/Users/danni/miniconda/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/danni/miniconda/bin/python', '/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py', '--clang-completer']' returned non-zero exit status 1
最佳答案
这看起来像是 YouCompleteMe 设置过程中的一个错误,如果您将其报告给他们的 issue tracker 就好了。 .
是什么让我这么想:
1)输出顶部的警告:
Linking CXX shared library
/Users/danni/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so
ld: warning: ignoring file
../clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so.3.7,
file was built for unsupported file format
./install.py
没有 --clang-completer 标志
./install.py --clang-completer --system-libclang
.
set( APPLE TRUE )
在顶部。 ./install.py --clang-completer
再次。 set( APPLE TRUE )
给他们。 关于vim - YouCompleteMe 安装 CalledProcessError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34836774/
我有一个脚本循环遍历几个文件路径,以便使用子进程执行一些其他 python 和 bash 脚本。 我知道这些脚本偶尔会失败,我想捕获异常并停止循环/退出调用脚本。这看起来应该很简单 - 但我很想让它发
我正在使用 subprocess 模块和 check_output() 在我的 Python 脚本中创建一个虚拟 shell,它适用于返回零退出状态的命令,然而,对于那些不这样做的,它会返回一个异常,
我希望有人可以帮助解决这个问题。我正在尝试以以下动画的形式从 Keras 中保存损失图。 但我一直面临以下错误,最终我无法保存动画: MovieWriter stderr: [h264_v4l2m2m
我已经通过 brew 安装了 Cmake 并查看了错误跟踪器和其他有这个问题的人,但我没有找到任何有我问题的人。这是输出中的错误: Linking CXX shared library /Users/
我一直在使用一个执行 bash 命令的简短 python 脚本。该程序运行了大约一个月,效果良好。最近,我尝试运行脚本并向其传递以下命令: my_launcher.py -c /path/to/con
我使用 python,我想创建一个数据库源 Controller ,如 liquibase 。我找到liquibase调用的python版本 pyquibase 但得到 subprocess.Call
我正在使用下面的代码获取 shell 命令的输出。 import subprocess exitcode, err, out = 0, None, None try: out = subpro
import subprocess cmd = "grep -r * | grep jquery" print cmd subprocess.check_output(cmd, shell=True)
继续 from my previous question我看到要获取我在 python 中通过 Popen 生成的进程的错误代码,我必须调用 wait() 或 communicate() (可用于访问
我正在使用 python 子进程模块中的 subprocess.check_output 来执行 ping 命令。这是我的做法: output = subprocess.check_output(["
我想在python(3)脚本中捕获shell命令的stdout流,同时能够检查shell命令的返回码是否返回一个错误(也就是说,如果它的返回码不是 0)。 subprocess.check_outpu
运行时出现以下错误 buildozer android debug deploy run (VirtualBox 上的 Ubuntu 64 14.04): Traceback (most recent
在asyncio模块中是否有一个与CalledProcessError类似的东西?来自 subprocess 模块的异常? 我本来希望有一个模拟,因为 asyncio 模块创建 TimeoutErro
>>> import subprocess >>> subprocess.check_output("smartctl -d ata -a /dev/sda", shell=True) "output
在运行 kivy 时,出现此错误。我已经安装了 ant。 subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-
我正在尝试实现以下代码: import os os.environ.update({'MALLET_HOME':r'c:/mallet-2.0.8/'}) mallet_path = 'C:\\mal
当我在约 1600 万个文档的完整语料库上运行 Gensim LDAMallet 模型时,出现 CalledProcessError“非零退出状态 1”错误。有趣的是,如果我在包含约 160,000
以下是我们代码库中的代码片段 # global library function def check_call_noout(params, acceptable_exit_codes = (0,),
我想调用一个子进程来备份mysql数据库。在终端中运行良好的命令行(并创建了一个名为 mydatabase.sql 的文件)是: mysqldump -uroot -ppassword --a
这个问题已经有答案了: Subprocess check_output returned non-zero exit status 1 (2 个回答) 已关闭 5 年前。 我需要计算 python 脚
我是一名优秀的程序员,十分优秀!