Login  Register

Re: icp_odometry with LOAM crash

Posted by matlabbe on Sep 21, 2021; 3:25pm
URL: http://official-rtab-map-forum.206.s1.nabble.com/icp-odometry-with-LOAM-crash-tp8261p8594.html

Hi,

I cannot build floam with ceres 2.0.0, I have similar errors than you but with floam:
/usr/bin/ld: /home/mathieu/catkin_ws/devel/lib/libfloam.so: undefined reference to `ceres::Problem::AddResidualBlock(ceres::CostFunction*, ceres::LossFunction*, double*)'
/usr/bin/ld: /home/mathieu/catkin_ws/devel/lib/libfloam.so: undefined reference to `ceres::Solver::Summary::Summary()'

This one is working for me:
git clone https://ceres-solver.googlesource.com/ceres-solver
cd ceres-solver
git checkout 1.14.0
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF ..
make -j8
sudo make install

cheers,
Mathieu