recastnavigation / recastnavigation

Industry-standard navigation-mesh toolset for games

Home Page:http://recastnav.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacOS 14.3 - Apple Silicon - RecastDemo - Could not init GUI renderer.

BeastBurst opened this issue · comments

Hello I am using MacOS 14.3

This is the output of my cmake:

-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework   
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/venelin/Development/recastnavigation/cmake-build-debug

This is the output of the build:

====================[ Build | RecastDemo | Debug ]==============================
/Applications/CLion.app/Contents/bin/cmake/mac/aarch64/bin/cmake --build /Users/venelin/Development/recastnavigation/cmake-build-debug --target RecastDemo -- -j 10
[  1%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
[  5%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o
[  5%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
[  6%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
[ 10%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
[ 10%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o
[ 12%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
[ 15%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o
[ 15%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
[ 17%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
[ 20%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o
[ 20%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
[ 22%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
[ 24%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
[ 25%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o
[ 27%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
[ 29%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
[ 31%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
[ 32%] Linking CXX static library libDetour-d.a
[ 34%] Linking CXX static library libRecast-d.a
[ 34%] Built target Detour
[ 36%] Building CXX object DetourTileCache/CMakeFiles/DetourTileCache.dir/Source/DetourTileCacheBuilder.cpp.o
[ 37%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourPathCorridor.cpp.o
[ 39%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourPathQueue.cpp.o
[ 43%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourObstacleAvoidance.cpp.o
[ 43%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourProximityGrid.cpp.o
[ 46%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourLocalBoundary.cpp.o
[ 46%] Building CXX object DetourCrowd/CMakeFiles/DetourCrowd.dir/Source/DetourCrowd.cpp.o
[ 48%] Building CXX object DetourTileCache/CMakeFiles/DetourTileCache.dir/Source/DetourTileCache.cpp.o
[ 48%] Built target Recast
[ 50%] Linking CXX static library libDetourCrowd-d.a
[ 51%] Linking CXX static library libDetourTileCache-d.a
[ 51%] Built target DetourCrowd
[ 51%] Built target DetourTileCache
[ 55%] Building CXX object DebugUtils/CMakeFiles/DebugUtils.dir/Source/DetourDebugDraw.cpp.o
[ 55%] Building CXX object DebugUtils/CMakeFiles/DebugUtils.dir/Source/DebugDraw.cpp.o
[ 58%] Building CXX object DebugUtils/CMakeFiles/DebugUtils.dir/Source/RecastDump.cpp.o
[ 58%] Building CXX object DebugUtils/CMakeFiles/DebugUtils.dir/Source/RecastDebugDraw.cpp.o
[ 60%] Linking CXX static library libDebugUtils-d.a
[ 60%] Built target DebugUtils
[ 63%] Building C object RecastDemo/CMakeFiles/RecastDemo.dir/Contrib/fastlz/fastlz.c.o
[ 63%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/ConvexVolumeTool.cpp.o
[ 65%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/ChunkyTriMesh.cpp.o
[ 67%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/NavMeshTesterTool.cpp.o
[ 68%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/InputGeom.cpp.o
[ 70%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/CrowdTool.cpp.o
[ 72%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/MeshLoaderObj.cpp.o
[ 74%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Filelist.cpp.o
[ 75%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/NavMeshPruneTool.cpp.o
[ 77%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/OffMeshConnectionTool.cpp.o
[ 79%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/PerfTimer.cpp.o
[ 81%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Sample.cpp.o
[ 82%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/SampleInterfaces.cpp.o
/Users/venelin/Development/recastnavigation/RecastDemo/Source/NavMeshTesterTool.cpp:1337:19: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
        if (m_sposSet && gluProject((GLdouble)m_spos[0], (GLdouble)m_spos[1], (GLdouble)m_spos[2],
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/NavMeshTesterTool.cpp:1342:19: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
        if (m_eposSet && gluProject((GLdouble)m_epos[0], (GLdouble)m_epos[1], (GLdouble)m_epos[2],
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
2 warnings generated.
[ 84%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Sample_Debug.cpp.o
[ 86%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Sample_SoloMesh.cpp.o
[ 87%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Sample_TempObstacles.cpp.o
[ 89%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/Sample_TileMesh.cpp.o
[ 91%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/TestCase.cpp.o
/Users/venelin/Development/recastnavigation/RecastDemo/Source/CrowdTool.cpp:526:21: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
        if (m_targetRef && gluProject((GLdouble)m_targetPos[0], (GLdouble)m_targetPos[1], (GLdouble)m_targetPos[2],
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/CrowdTool.cpp:551:11: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                                                if (gluProject((GLdouble)node->pos[0],(GLdouble)node->pos[1]+off,(GLdouble)node->pos[2],
                                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/CrowdTool.cpp:575:9: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                                if (gluProject((GLdouble)pos[0], (GLdouble)pos[1]+h, (GLdouble)pos[2],
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/CrowdTool.cpp:604:11: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                                                if (gluProject((GLdouble)nei->npos[0], (GLdouble)nei->npos[1]+radius, (GLdouble)nei->npos[2],
                                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/OffMeshConnectionTool.cpp:160:21: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
        if (m_hitPosSet && gluProject((GLdouble)m_hitPos[0], (GLdouble)m_hitPos[1], (GLdouble)m_hitPos[2],
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
[ 93%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/ValueHistory.cpp.o
1 warning generated.
[ 94%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/imgui.cpp.o
[ 96%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/imguiRenderGL.cpp.o
4 warnings generated.
[ 98%] Building CXX object RecastDemo/CMakeFiles/RecastDemo.dir/Source/main.cpp.o
/Users/venelin/Development/recastnavigation/RecastDemo/Source/Sample_TempObstacles.cpp:622:7: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                if (gluProject((GLdouble)pos[0], (GLdouble)pos[1], (GLdouble)pos[2],
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/Sample_TileMesh.cpp:156:22: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                if (m_hitPosSet && gluProject((GLdouble)m_hitPos[0], (GLdouble)m_hitPos[1], (GLdouble)m_hitPos[2],
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/Sample_TileMesh.cpp:554:32: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
        if (m_tileBuildTime > 0.0f && gluProject((GLdouble)(m_lastBuiltTileBmin[0]+m_lastBuiltTileBmax[0])/2, (GLdouble)(m_lastBuiltTileBmin[1]+m_lastBuiltTileBmax[1])/2, (GLdouble)(m_lastBuiltTileBmin[2]+m_lastBuiltTileBmax[2])/2,
                                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
1 warning generated.
/Users/venelin/Development/recastnavigation/RecastDemo/Source/TestCase.cpp:417:7: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                if (gluProject((GLdouble)pt[0], (GLdouble)pt[1], (GLdouble)pt[2],
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
2 warnings generated.
1 warning generated.
/Users/venelin/Development/recastnavigation/RecastDemo/Source/main.cpp:431:3: warning: 'gluPerspective' is deprecated: first deprecated in macOS 10.9 - "Use GLKMatrix4MakePerspective" [-Wdeprecated-declarations]
                gluPerspective(50.0f, (float)width/(float)height, 1.0f, camr);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:278:13: note: 'gluPerspective' has been explicitly marked deprecated here
extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakePerspective");
            ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/main.cpp:446:3: warning: 'gluUnProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathUnproject" [-Wdeprecated-declarations]
                gluUnProject(mousePos[0], mousePos[1], 0.0f, modelviewMatrix, projectionMatrix, viewport, &x, &y, &z);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note: 'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/main.cpp:450:3: warning: 'gluUnProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathUnproject" [-Wdeprecated-declarations]
                gluUnProject(mousePos[0], mousePos[1], 1.0f, modelviewMatrix, projectionMatrix, viewport, &x, &y, &z);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note: 'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject");
             ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/main.cpp:497:3: warning: 'gluOrtho2D' is deprecated: first deprecated in macOS 10.9 - "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations]
                gluOrtho2D(0, width, 0, height);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276:13: note: 'gluOrtho2D' has been explicitly marked deprecated here
extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakeOrtho");
            ^
/Users/venelin/Development/recastnavigation/RecastDemo/Source/main.cpp:891:28: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations]
                if (markerPositionSet && gluProject((GLdouble)markerPosition[0], (GLdouble)markerPosition[1], (GLdouble)markerPosition[2],
                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here
extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject");
             ^
5 warnings generated.
[100%] Linking CXX executable RecastDemo.app/Contents/MacOS/RecastDemo
ld: warning: ignoring duplicate libraries: '../Detour/libDetour-d.a'
[100%] Built target RecastDemo

As you can see the program build sucessfully, however when I try to start it I the programs starts and shuts down immediatelly and I see this message in the console: Could not init GUI renderer.

Any idea why and how can I fix that issue, why isn't it working on Mac?

So the error occurred here:

printf("Could not init GUI renderer.\n");

I think, your app couldn't find "DroidSans.ttf" in root path.
Check if DroidSans.ttf is presented in current working directory.

You can check current directory by std::filesystem::current_path