RoboCup-SSL / grSim

RoboCup Small Size Robot Soccer Simulator
https://ssl.robocup.org/league-software/
Other
128 stars 130 forks source link

Cant build on Mac #176

Closed AlexM-dev closed 7 months ago

AlexM-dev commented 1 year ago

Describe the bug I try to build grSim, but get errors like: "In file included from /opt/homebrew/include/absl/types/span.h:69: /opt/homebrew/include/absl/types/internal/span.h:130:24: error: no template named 'enable_if_t' in namespace 'std'; did you mean simply 'enable_if_t'? using EnableIfIsView = std::enable_if_t<IsView::value, int>;" "/opt/homebrew/include/absl/container/internal/compressed_tuple.h:155:48: error: no type named 'in_place_t' in namespace 'absl' explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)" etc.

Expected behavior I think that to solve the problem I need to change the c++ version when building, but I don't understand how to do it

Desktop

AlexM-dev commented 1 year ago

I tried to add # set explicitly the c++ standard to use\n set(CMAKE_CXX_STANDARD 17) in CMakeLists.txt but it dont help

Dont understand why

AlexM-dev commented 1 year ago

I fix this. Now I'm stuck on an error when "make": "Undefined symbols for architecture arm64".

Leikoe commented 9 months ago

my build fails at ld, Undefined symbols void absl::lts_20230802::log_internal::LogMessage::CopyToEncodedBuffer<(absl::lts_20230802::log_internal::LogMessage::StringType)0>(std::__1::basic_string_view<char, std::__1::char_traits<char>>),