hello,i just wanna install segmatch but not segmap,i dont have a nvidia card,i found segmatch from someone's fork,but failed while compiling laser slam:
laser_slam/common.hpp:141:75: error: cannot convert ‘std::shared_ptr<PointMatcher::Transformation>’ to ‘PointMatcher::Transformation’ in initialization
PointMatcher::get().REG(Transformation).create("RigidTransformation");
^
/home/wj-pxc/segmap_ws/src/laser_slam/laser_slam/src/laser_track.cpp: In constructor ‘laser_slam::LaserTrack::LaserTrack(const laser_slam::LaserTrackParams&, unsigned int)’:
/home/wj-pxc/segmap_ws/src/laser_slam/laser_slam/src/laser_track.cpp:33:25: error: cannot convert ‘std::shared_ptr<PointMatcher::Transformation>’ to ‘PointMatcher::Transformation’ in assignment
rigidtransformation = PointMatcher::get().REG(Transformation).create("RigidTransformation");
how to solve it,thank you
hello,i just wanna install segmatch but not segmap,i dont have a nvidia card,i found segmatch from someone's fork,but failed while compiling laser slam: laser_slam/common.hpp:141:75: error: cannot convert ‘std::shared_ptr<PointMatcher::Transformation>’ to ‘PointMatcher::Transformation’ in initialization
PointMatcher::get().REG(Transformation).create("RigidTransformation");
^
/home/wj-pxc/segmap_ws/src/laser_slam/laser_slam/src/laser_track.cpp: In constructor ‘laser_slam::LaserTrack::LaserTrack(const laser_slam::LaserTrackParams&, unsigned int)’:
/home/wj-pxc/segmap_ws/src/laser_slam/laser_slam/src/laser_track.cpp:33:25: error: cannot convert ‘std::shared_ptr<PointMatcher::Transformation>’ to ‘PointMatcher::Transformation ’ in assignment
rigidtransformation = PointMatcher::get().REG(Transformation).create("RigidTransformation");
how to solve it,thank you