Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

build failed in mac 10.14.6  #881

Open
@jiqimaogou

Description

@jiqimaogou
Undefined symbols for architecture x86_64:
  "std::__1::shared_timed_mutex::lock_shared()", referenced from:
      ImportManager::GetStatus(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in import_manager.cc.o
  "std::__1::shared_timed_mutex::unlock_shared()", referenced from:
      ImportManager::GetStatus(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in import_manager.cc.o
  "std::__1::shared_timed_mutex::lock()", referenced from:
      (anonymous namespace)::IndexMain_DoParse(DiagnosticsEngine*, WorkingFiles*, FileConsumerSharedState*, TimestampManager*, (anonymous namespace)::IModificationTimestampFetcher*, ImportManager*, IIndexer*) in import_pipeline.cc.o
      QueryDb_ImportMain(QueryDatabase*, ImportManager*, ImportPipelineStatus*, SemanticHighlightSymbolCache*, WorkingFiles*) in import_pipeline.cc.o
  "std::__1::shared_timed_mutex::unlock()", referenced from:
      (anonymous namespace)::IndexMain_DoParse(DiagnosticsEngine*, WorkingFiles*, FileConsumerSharedState*, TimestampManager*, (anonymous namespace)::IModificationTimestampFetcher*, ImportManager*, IIndexer*) in import_pipeline.cc.o
      QueryDb_ImportMain(QueryDatabase*, ImportManager*, ImportPipelineStatus*, SemanticHighlightSymbolCache*, WorkingFiles*) in import_pipeline.cc.o
  "std::__1::shared_timed_mutex::shared_timed_mutex()", referenced from:
      RunQueryDbThread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in command_line.cc.o
      _DOCTEST_ANON_SUITE_2::Fixture::Fixture() in import_pipeline.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [CMakeFiles/cquery.dir/build.make:2385: cquery] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/cquery.dir/all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions