Open busybeaver42 opened 3 years ago
No support here, but I found a solution:
First install nanoflann: https://github.com/jlblancoc/nanoflann
fix in type.h and FRICP.h
Fix in ICP.h line 44: //index = new index_t(dims, this, nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size, dims)); index = new index_t(dims, this, nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size));
No support here, but I found a solution:
First install nanoflann: jlblancoc/nanoflann
fix in type.h and FRICP.h #include <eigen/...> to #include <eigen3/...> Fix in ICP.h line 44: //index = new index_t(dims, this, nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size, dims)); index = new index_t(dims, this, nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size));
It seems that in include/ directory, there exists a file called nanoflann.hpp, but maybe the author didnot add the path to the makefile.
Solution:
Edit makefile 'CMakeLists.txt' and remove any system NanoFlann-library (comment out):
Edit 'ICP.h' and change to project-included NanoFlann:
First error: bugfix in type.h and FRICP.h change entry:
include <eigen/...> to #include <eigen3/...>
second error: Fast-Robust-ICP/ICP.h:44:57: error: no matching function for call to ‘nanoflann::KDTreeSingleIndexAdaptorParams::KDTreeSingleIndexAdaptorParams(const int&, const size_t&)’ index = new index_t(dims, *this, nanoflann::KDTreeSingleIndexAdaptorParams(leaf_max_size, dims)); solution is open, ...