Advertisement
illwieckz

detour macos error 2

Jun 17th, 2024
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. Run cmake --build /Users/runner/work/recastnavigation/recastnavigation/build --config Debug
  2. [ 1%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
  3. [ 3%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
  4. [ 4%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
  5. [ 6%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
  6. [ 7%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
  7. [ 9%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
  8. [ 10%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
  9. [ 12%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
  10. [ 13%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
  11. [ 15%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
  12. [ 16%] Building CXX object Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
  13. [ 18%] Linking CXX static library libRecast-d.a
  14. [ 18%] Built target Recast
  15. [ 19%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
  16. [ 21%] Building CXX object Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
  17. In file included from /Users/runner/work/recastnavigation/recastnavigation/Detour/Source/DetourAssert.cpp:20:
  18. /Users/runner/work/recastnavigation/recastnavigation/Detour/Include/DetourModernCpp.h:19:2: error: use of undeclared identifier 'DT_NULL'
  19. dtAssert( std::numeric_limits<TO>::min() <= val && val <= std::numeric_limits<TO>::max() );
  20. ^
  21. /Users/runner/work/recastnavigation/recastnavigation/Detour/Include/DetourAssert.h:50:19: note: expanded from macro 'dtAssert'
  22. if(failFunc == DT_NULL) { assert(expression); } \
  23. ^
  24. /Users/runner/work/recastnavigation/recastnavigation/Detour/Source/DetourAssert.cpp:24:44: error: use of undeclared identifier 'DT_NULL'
  25. static dtAssertFailFunc* sAssertFailFunc = DT_NULL;
  26. ^
  27. 2 errors generated.
  28. make[2]: *** [Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o] Error 1
  29. make[1]: *** [Detour/CMakeFiles/Detour.dir/all] Error 2
  30. make: *** [all] Error 2
  31. Error: Process completed with exit code 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement