hyye / lio-mapping

Implementation of Tightly Coupled 3D Lidar Inertial Odometry and Mapping (LIO-mapping)
https://sites.google.com/view/lio-mapping
GNU General Public License v3.0
925 stars 322 forks source link

catkin_make error #78

Open he-guo opened 4 years ago

he-guo commented 4 years ago

Hi, I encountered this problem when compiling: /usr/local/include/ceres/jet.h:998:8: error: ‘ScalarBinaryOpTraits’ is not a class template struct ScalarBinaryOpTraits<ceres::Jet<T, N>, T, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: error: type/value mismatch at argument 3 in template parameter list for ‘template<class BinaryOp, class T, int N> struct Eigen::ScalarBinaryOpTraits’ struct ScalarBinaryOpTraits<T, ceres::Jet<T, N>, BinaryOp> { ^ /usr/local/include/ceres/jet.h:1002:58: note: expected a constant of type ‘int’, got ‘BinaryOp’ and can you give me some suggestions? Thank you.

bulinx commented 4 years ago

maybe you should use catkin_build workplace and catkin build