You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to get this project up and running on my Mac (macOS Monterey 12.6).
Installation of point cloud library seems correct.
I was able to run cmake .. successfully in the build folder.
However, I got errors when typing make in the build folder. Does anyone has an idea what might be the problem? Thanks a lot!
`Consolidate compiler generated dependencies of target environment
[ 25%] Building CXX object CMakeFiles/environment.dir/src/environment.cpp.o
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:989:12: error: reference to unresolved using declaration
return isfinite EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:323:1: note: using declaration annotated with 'using_if_exists' here
using ::isfinite _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:1004:12: error: reference to unresolved using declaration
return isinf EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:1019:12: error: reference to unresolved using declaration
return isnan EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:251:25: error: expected unqualified-id
output.value = std::signbit(v) ? 0xFFC0: 0x7FC0;
^
/usr/local/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x))
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:286:25: error: expected unqualified-id
output.value = std::signbit(ff) ? 0xFFC0: 0x7FC0;
^
/usr/local/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x))
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:478:11: error: reference to unresolved using declaration
return (isinf)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:478:11: error: reference to unresolved using declaration
return (isinf)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:482:11: error: reference to unresolved using declaration
return (isnan)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:482:11: error: reference to unresolved using declaration
return (isnan)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:40:15: error: expected member name or ';' after declaration specifiers
static bool isnan(T x) { return std::isnan(x); }
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:40:15: error: expected ')'
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:40:15: note: to match this '('
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:46:15: error: expected member name or ';' after declaration specifiers
static bool isnan(T) { return false; }
~~~~~~~~~~~ ^
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:46:15: error: expected ')'
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:46:15: note: to match this '('
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:50:6: error: expected unqualified-id
bool isnan(T x)
^
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:50:6: error: expected ')'
/usr/local/include/math.h:165:7: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:50:6: note: to match this '('
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:131:21: error: expected unqualified-id
if (::detail::isnan(value))
^
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:144:19: error: expected unqualified-id
if (::detail::isnan(value) && !this->NanIndices.empty())
^
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:422:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.txx:21:
/usr/local/include/vtk-9.1/vtkMath.h:2031:15: error: expected unqualified-id
return std::isinf(x);
^
/usr/local/include/math.h:160:5: note: expanded from macro 'isinf'
( sizeof(x) == sizeof(float) ? __inline_isinff((float)(x)) \
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:422:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.txx:21:
/usr/local/include/vtk-9.1/vtkMath.h:2044:15: error: expected unqualified-id
return std::isnan(x);
^
/usr/local/include/math.h:165:5: note: expanded from macro 'isnan'
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/environment.dir/src/environment.cpp.o] Error 1
make[1]: *** [CMakeFiles/environment.dir/all] Error 2
make: *** [all] Error 2
`
The text was updated successfully, but these errors were encountered:
Hello!
I am trying to get this project up and running on my Mac (macOS Monterey 12.6).
I was able to run
cmake ..
successfully in the build folder.However, I got errors when typing
make
in the build folder. Does anyone has an idea what might be the problem? Thanks a lot!`Consolidate compiler generated dependencies of target environment
[ 25%] Building CXX object CMakeFiles/environment.dir/src/environment.cpp.o
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:989:12: error: reference to unresolved using declaration
return isfinite EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:323:1: note: using declaration annotated with 'using_if_exists' here
using ::isfinite _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:1004:12: error: reference to unresolved using declaration
return isinf EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:171:
/usr/local/include/eigen3/Eigen/src/Core/MathFunctions.h:1019:12: error: reference to unresolved using declaration
return isnan EIGEN_NOT_A_MACRO (x);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:251:25: error: expected unqualified-id
output.value = std::signbit(v) ? 0xFFC0: 0x7FC0;
^
/usr/local/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x))
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:286:25: error: expected unqualified-id
output.value = std::signbit(ff) ? 0xFFC0: 0x7FC0;
^
/usr/local/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x))
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:478:11: error: reference to unresolved using declaration
return (isinf)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:478:11: error: reference to unresolved using declaration
return (isinf)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: using declaration annotated with 'using_if_exists' here
using ::isinf _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:482:11: error: reference to unresolved using declaration
return (isnan)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:42:
In file included from /usr/local/include/pcl-1.12/pcl/correspondence.h:45:
In file included from /usr/local/include/pcl-1.12/pcl/pcl_base.h:46:
In file included from /usr/local/include/pcl-1.12/pcl/memory.h:48:
In file included from /usr/local/include/eigen3/Eigen/Core:177:
/usr/local/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h:482:11: error: reference to unresolved using declaration
return (isnan)(float(a));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:325:1: note: using declaration annotated with 'using_if_exists' here
using ::isnan _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/environment.cpp:5:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/lidar.h:3:
In file included from /Users/xpcai2016/Documents/GitHub/SFND_Lidar_Obstacle_Detection_Git/src/sensors/../render/render.h:7:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/pcl_visualizer.h:48:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/common/actor_map.h:40:
In file included from /usr/local/include/pcl-1.12/pcl/visualization/point_cloud_geometry_handlers.h:51:
In file included from /usr/local/include/vtk-9.1/vtkFloatArray.h:27:
In file included from /usr/local/include/vtk-9.1/vtkAOSDataArrayTemplate.h:38:
In file included from /usr/local/include/vtk-9.1/vtkGenericDataArray.h:72:
/usr/local/include/vtk-9.1/vtkGenericDataArrayLookupHelper.h:40:15: error: expected member name or ';' after declaration specifiers
static bool isnan(T x) { return std::isnan(x); }
The text was updated successfully, but these errors were encountered: