libp2p / cpp-libp2p

C++17 implementation of libp2p
Apache License 2.0
347 stars 98 forks source link

Hunter build errors from package soralog #185

Closed ashley-b closed 2 years ago

ashley-b commented 2 years ago

I get the follow build error while trying to configure the project with CMake

/.hunter/_Base/64a1180/2f0b28a/8459457/Build/soralog/Source/src/logging_system.cpp: In member function ‘void soralog::LoggingSystem::setParentOfGroup(const std::shared_ptr<soralog::Group>&, const std::shared_ptr<soralog::Group>&)’:
/home/ashley/.hunter/_Base/64a1180/2f0b28a/8459457/Build/soralog/Source/src/logging_system.cpp:173:10: error: ‘function’ is not a member of ‘std’
  173 |     std::function<int(const std::shared_ptr<const Group> &)> fn =

Think its is the following issue https://github.com/xDimon/soralog/issues/4 Maybe set hunter dependency to a fixed versions if they are not already or use a logging library that more stable (ie spdlog)