Advertisement
illwieckz

detour macos error

Jun 17th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.54 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. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  4. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:28:
  5. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastModernCpp.h:19:2: error: use of undeclared identifier 'RC_NULL'
  6. rcAssert( std::numeric_limits<TO>::min() <= val && val <= std::numeric_limits<TO>::max() );
  7. ^
  8. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  9. if (failFunc == RC_NULL) { assert(expression); } \
  10. ^
  11. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  12. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:127:47: error: use of undeclared identifier 'RC_NULL'
  13. rcVectorBase() : m_size(0), m_cap(0), m_data(RC_NULL) {}
  14. ^
  15. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:128:78: error: use of undeclared identifier 'RC_NULL'
  16. rcVectorBase(const rcVectorBase<T, H>& other) : m_size(0), m_cap(0), m_data(RC_NULL) { assign(other.begin(), other.end()); }
  17. ^
  18. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:129:72: error: use of undeclared identifier 'RC_NULL'
  19. explicit rcVectorBase(rcSizeType count) : m_size(0), m_cap(0), m_data(RC_NULL) { resize(count); }
  20. ^
  21. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:130:79: error: use of undeclared identifier 'RC_NULL'
  22. rcVectorBase(rcSizeType count, const T& value) : m_size(0), m_cap(0), m_data(RC_NULL) { resize(count, value); }
  23. ^
  24. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:131:75: error: use of undeclared identifier 'RC_NULL'
  25. rcVectorBase(const T* begin, const T* end) : m_size(0), m_cap(0), m_data(RC_NULL) { assign(begin, end); }
  26. ^
  27. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:140:51: error: use of undeclared identifier 'RC_NULL'
  28. void resize(rcSizeType size) { resize_impl(size, RC_NULL); }
  29. ^
  30. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:146:20: error: use of undeclared identifier 'RC_NULL'
  31. void pop_back() { rcAssert(m_size > 0); back().~T(); m_size--; }
  32. ^
  33. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  34. if (failFunc == RC_NULL) { assert(expression); } \
  35. ^
  36. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  37. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:152:44: error: use of undeclared identifier 'RC_NULL'
  38. const T& operator[](rcSizeType i) const { rcAssert(i >= 0 && i < m_size); return m_data[i]; }
  39. ^
  40. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  41. if (failFunc == RC_NULL) { assert(expression); } \
  42. ^
  43. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  44. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:153:32: error: use of undeclared identifier 'RC_NULL'
  45. T& operator[](rcSizeType i) { rcAssert(i >= 0 && i < m_size); return m_data[i]; }
  46. ^
  47. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  48. if (failFunc == RC_NULL) { assert(expression); } \
  49. ^
  50. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  51. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:155:27: error: use of undeclared identifier 'RC_NULL'
  52. const T& front() const { rcAssert(m_size); return m_data[0]; }
  53. ^
  54. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  55. if (failFunc == RC_NULL) { assert(expression); } \
  56. ^
  57. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  58. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:156:15: error: use of undeclared identifier 'RC_NULL'
  59. T& front() { rcAssert(m_size); return m_data[0]; }
  60. ^
  61. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  62. if (failFunc == RC_NULL) { assert(expression); } \
  63. ^
  64. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  65. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:157:26: error: use of undeclared identifier 'RC_NULL'
  66. const T& back() const { rcAssert(m_size); return m_data[m_size - 1]; }
  67. ^
  68. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  69. if (failFunc == RC_NULL) { assert(expression); } \
  70. ^
  71. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  72. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:158:14: error: use of undeclared identifier 'RC_NULL'
  73. T& back() { rcAssert(m_size); return m_data[m_size - 1]; }
  74. ^
  75. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  76. if (failFunc == RC_NULL) { assert(expression); } \
  77. ^
  78. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  79. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:190:2: error: use of undeclared identifier 'RC_NULL'
  80. rcAssert(RC_SIZE_MAX / static_cast<rcSizeType>(sizeof(T)) >= size);
  81. ^
  82. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  83. if (failFunc == RC_NULL) { assert(expression); } \
  84. ^
  85. In file included from /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:20:
  86. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAlloc.h:227:2: error: use of undeclared identifier 'RC_NULL'
  87. rcAssert(min_capacity <= RC_SIZE_MAX);
  88. ^
  89. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  90. if (failFunc == RC_NULL) { assert(expression); } \
  91. ^
  92. /Users/runner/work/recastnavigation/recastnavigation/Recast/Source/Recast.cpp:406:2: error: use of undeclared identifier 'RC_NULL'
  93. rcAssert(context);
  94. ^
  95. /Users/runner/work/recastnavigation/recastnavigation/Recast/Include/RecastAssert.h:47:20: note: expanded from macro 'rcAssert'
  96. if (failFunc == RC_NULL) { assert(expression); } \
  97. ^
  98. 17 errors generated.
  99. make[2]: *** [Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o] Error 1
  100. make[1]: *** [Recast/CMakeFiles/Recast.dir/all] Error 2
  101. make: *** [all] Error 2
  102. Error: Process completed with exit code 2.
  103. 0s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement