FAST_LIO_SLAM icon indicating copy to clipboard operation
FAST_LIO_SLAM copied to clipboard

build error for aloam velodyne

Open yogeshflux opened this issue 4 years ago • 2 comments

[ 63%] Building CXX object FAST_LIO_SLAM/SC-PGO/CMakeFiles/alaserPGO.dir/src/laserPosegraphOptimization.cpp.o In file included from /usr/local/include/eigen3/Eigen/Eigenvalues:35, from /usr/local/include/eigen3/Eigen/Dense:7, from /home/yogeshkumargn/ROS_WORKSPACES/fastlio_slam/src/FAST_LIO_SLAM/SC-PGO/src/laserMapping.cpp:53: /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>)

yogeshflux avatar Apr 19 '22 04:04 yogeshflux

@yogeshflux Please check your eigen version is: 3.3.4

srinivasrama avatar Jun 10 '22 07:06 srinivasrama

I changed my Eigen version to 3.3.4 and still cannot build. My system is Ubuntu 20.04 with ROS Noetic

yuanchihpeng avatar Sep 25 '23 19:09 yuanchihpeng