Lidar_localizer failed when installing autoware

asked 2020-06-24 13:23:53 -0600

Eleonore gravatar image

--- stderr: lidar_localizer

In file included from /usr/local/include/eigen3/Eigen/Eigenvalues:35:0,

             from /usr/local/include/eigen3/Eigen/Dense:7,
             from /home/elejrv/autoware.ai/install/ndt_cpu/include/ndt_cpu/Registration.h:4,
             from /home/elejrv/autoware.ai/install/ndt_cpu/include/ndt_cpu/NormalDistributionsTransform.h:4,
             from /home/elejrv/autoware.ai/src/autoware/core_perception/lidar_localizer/nodes/ndt_mapping/ndt_mapping.cpp:47:
/usr/local/include/eigen3/Eigen/src/misc/RealSvd2x2.h:19:6: 

             error: redefinition of ‘template<class MatrixType, class RealScalar, class Index> void Eigen::internal::real_2x2_jacobi_svd(const MatrixType&, Index, Index, Eigen::JacobiRotation<RealScalar>*, Eigen::JacobiRotation<RealScalar>*)’

void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
        ^
 In file included from /usr/include/eigen3/Eigen/SVD:36:0,

             from /usr/include/eigen3/Eigen/Geometry:15,
             from /usr/include/pcl-1.7/pcl/point_cloud.h:47,
             from /opt/ros/kinetic/include/pcl_ros/point_cloud.h:5,
             from /opt/ros/kinetic/include/velodyne_pointcloud/rawdata.h:33,
             from /home/elejrv/autoware.ai/src/autoware/core_perception/lidar_localizer/nodes/ndt_mapping/ndt_mapping.cpp:37:
/usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:405:6:

 note: ‘template<class MatrixType, class RealScalar, class Index> void Eigen::internal::real_2x2_jacobi_svd(const MatrixType&, Index, Index, Eigen::JacobiRotation<RealScalar>*, Eigen::JacobiRotation<RealScalar>*)’ previously declared here

 void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
  ^
In file included from /usr/local/include/eigen3/Eigen/Eigenvalues:35:0,

             from /usr/local/include/eigen3/Eigen/Dense:7,
             from /home/elejrv/autoware.ai/install/ndt_cpu/include/ndt_cpu/Registration.h:4,
             from /home/elejrv/autoware.ai/install/ndt_cpu/include/ndt_cpu/NormalDistributionsTransform.h:4,
             from /home/elejrv/autoware.ai/src/autoware/core_perception/lidar_localizer/nodes/ndt_matching/ndt_matching.cpp:56:

/usr/local/include/eigen3/Eigen/src/misc/RealSvd2x2.h:19:6: 

error: redefinition of ‘template<class MatrixType, class RealScalar, class Index> void Eigen::internal::real_2x2_jacobi_svd(const MatrixType&, Index, Index, Eigen::JacobiRotation<RealScalar>*, Eigen::JacobiRotation<RealScalar>*)’

void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
  ^
In file included from /usr/include/eigen3/Eigen/SVD:36:0,
             from /usr/include/eigen3/Eigen/Geometry:15,
             from /usr/include/pcl-1.7/pcl/point_cloud.h:47,
             from /opt/ros/kinetic/include/pcl_ros/point_cloud.h:5,
             from /opt/ros/kinetic/include/velodyne_pointcloud/rawdata.h:33,
             from /home/elejrv/autoware.ai/src/autoware/core_perception/lidar_localizer/nodes/ndt_matching/ndt_matching.cpp:41:
 /usr/include/eigen3/Eigen/src/SVD/JacobiSVD.h:405:6: note: ‘template<class MatrixType, class RealScalar, class Index> void Eigen::internal::real_2x2_jacobi_svd(const MatrixType&, Index, Index, Eigen::JacobiRotation<RealScalar>*, Eigen::JacobiRotation<RealScalar>*)’ previously declared here

  void real_2x2_jacobi_svd(const MatrixType& matrix, Index p, Index q,
  ^
  make[2]: *** [CMakeFiles/ndt_mapping.dir/nodes/ndt_mapping/ndt_mapping.cpp.o] Error 1
  make[1]: *** [CMakeFiles/ndt_mapping.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  make[2]: *** [CMakeFiles/ndt_matching.dir/nodes/ndt_matching/ndt_matching.cpp.o] Error 1
  make[1]: *** [CMakeFiles/ndt_matching.dir/all] Error 2
  make: *** [all] Error 2

 Failed   <<< lidar_localizer [2min 1s, exited with code 2]
edit retag flag offensive close merge delete