uzh-rpg / rpg_svo_pro_open

GNU General Public License v3.0
1.41k stars 392 forks source link

catkin build error in svo_ceres_backend #31

Open yuhaonanw opened 2 years ago

yuhaonanw commented 2 years ago

/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.

vitalemonate commented 2 years ago

Met the same problem. Did you solve it?

yuhaonanw commented 2 years ago

eigen version 3.3.7

vitalemonate commented 2 years ago

Thanks!

Burhanudin02 commented 10 months ago

so what can i do to solve it?