项目场景:ubuntu18.04编译ALOAM时eigen报错
---error: no match for ‘operator<’ (operand types are ‘Eigen::QuaternionBase<Eigen::Quaternion<ceres::Jet<double, 7>, 0> >::Scalar {aka ceres::Jet<double, 7>}’ and ‘int’) if(d< 0) scale1 = -scale1;
问题描述
在catkin_ws
工作空间中编译ALOAM需要提前配置依赖,安装好pcl之后在工作空间使用catkin build
编译,出现报错:
@/usr/include/eigen3/Eigen/src/Geometry/Quaternion.h
error: no match for ‘operator<’ (operand types are ‘Eigen::QuaternionBase<Eigen::Quaternion<ceres::Jet