1.按照流程操作,其中出现了CGAL相关的.so找不到文件的情况,此时,需要到其官网上去,执行第二条指令,并make install一下。
2.接着cmake成功,在进行make的时候,会非常慢,系统卡死好几次。
最后运行出来,有2条报错。
/home/zp/0326PlaneLoc-master/tests/Tests.cpp:194:54: error: no matching function for call to ‘Matching::convertToPointsDirsDists(const std::vector<Eigen::Matrix<double, 3, 1> >&, const std::vector<Eigen::Matrix<double, 4, 1> >&, const std::vector<Eigen::Matrix<double, 6, 1, 0> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&)’
retDistPtsDirs);
/home/zp/0326PlaneLoc-master/tests/Tests.cpp:263:88: error: no matching function for call to ‘Matching::bestTransformPointsDirsDists(std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>, std::vector<double>&, std::vector<double>&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::vector<double>, double&, bool&, bool&)’
fullConstrTransComp);