#CMake build macos command line tools issue?

2 messages · Page 1 of 1 (latest)

stuck verge
#

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.h10
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.h12
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic.h12
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic_base.h12
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__atomic/atomic_sync.h19
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h15
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/high_resolution_clock.h14
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/system_clock.h3712: 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;

scenic sableBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.