If i build my project via Cmake some issue occurs with the command line tools (I've never seen before) and the build just stops. I though this occurs because of the fetch content with the glm library (which I now think is not the case). It seems it cannot resolve certain system headers?
the start of the first error:
[luisruisinger] build (main) >> make
[ 2%] Built target imgui
[ 2%] Building CXX object CMakeFiles/opengl_3d_engine.dir/util/aabb_ray_intersection.cpp.o
In file included from /Users/luisruisinger/CLionProjects/opengl_3d_engine/util/aabb_ray_intersection.cpp:5:
In file included from /Users/luisruisinger/CLionProjects/opengl_3d_engine/util/aabb_ray_intersection.h
In file included from /Users/luisruisinger/CLionProjects/opengl_3d_engine/util/../core/level/platform.h:8:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/map:590:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__node_handle:65:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/optional:1679:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/atomic:522:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/aliases.h
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic.h
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic_base.h
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic_sync.h
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/high_resolution_clock.h
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/system_clock.h
12: error: reference to unresolved using declaration
static time_t to_time_t (const time_point& __t) _NOEXCEPT;
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ctime:74:1: note: using declaration annotated with 'using_if_exists' here
using ::time_t _LIBCPP_USING_IF_EXISTS;