/usr/local/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h:39:38:error: attribute ignored in declaration of ‘struct pcl::_PointXYZHSV’ [-Werror=attributes]
define EIGEN_ALIGN_TO_BOUNDARY(n) alignas(n)
/usr/local/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h:39:38: note: attribute for ‘struct pcl::_PointXYZHSV’ must follow the ‘struct’ keyword
cc1plus: all warnings being treated as errors
make[2]: [CMakeFiles/svo_ceres_backend.dir/src/ceres_backend_interface.cpp.o] Error 1
make[1]: [CMakeFiles/svo_ceres_backend.dir/all] Error 2
make: *** [all] Error 2
I guess the environment causes it, i try to gcc 6,7,8,9,10,11 , but it doesn't work.
/usr/local/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h:39:38:error: attribute ignored in declaration of ‘struct pcl::_PointXYZHSV’ [-Werror=attributes]
define EIGEN_ALIGN_TO_BOUNDARY(n) alignas(n)
/usr/local/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h:39:38: note: attribute for ‘struct pcl::_PointXYZHSV’ must follow the ‘struct’ keyword cc1plus: all warnings being treated as errors make[2]: [CMakeFiles/svo_ceres_backend.dir/src/ceres_backend_interface.cpp.o] Error 1 make[1]: [CMakeFiles/svo_ceres_backend.dir/all] Error 2 make: *** [all] Error 2
I guess the environment causes it, i try to gcc 6,7,8,9,10,11 , but it doesn't work.