NeBula-Autonomy / LAMP

Multi-robot SLAM system
MIT License
326 stars 45 forks source link

i can't make the teaser++. I need help very much!!!! #20

Closed junxiaofanchen closed 11 months ago

junxiaofanchen commented 1 year ago

Have you ever been in this situation when you make the teaser++ feature/pcl-macher ((/usr/bin/ld: CMakeFiles/all_tests.dir/evaluation-test.cc.o: in function teaser::SolutionEvaluator::SolutionEvaluator(Eigen::Matrix<double, 3, -1, 0, 3, -1> const&, Eigen::Matrix<double, 3, -1, 0, 3, -1> const&, double)' /usr/bin /ld: evaluation-test.cc:(.text+0x371): 未定义引用“teaser::SolutionEvaluator::computeErrorMetric(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)'))

I need help very much!!!

yunzc commented 11 months ago

Duplicated from https://github.com/MIT-SPARK/TEASER-plusplus/issues/174

junxiaofanchen commented 11 months ago

Now I've solved this issue because I compiled teaser++ separately and forgot to use -DBUILD_TEASER_FPFH=ON. for Author's readme.md “Build this package in a catkin workspace ” part,you need add ’catkin build teaserpp‘ before catkin build lamp.because lamp use c++14,but teaserpp use c++11.If use build lamp to build teaserpp,it will error.