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

build failed in mac 10.14.6 #881

Open
jiqimaogou opened this issue Aug 16, 2019 · 0 comments
Open

build failed in mac 10.14.6 #881

jiqimaogou opened this issue Aug 16, 2019 · 0 comments

Comments

@jiqimaogou
Copy link

jiqimaogou commented Aug 16, 2019

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant