When i catkin_make i got this error:
error: ‘class pclomp::NormalDistributionsTransform has no member named ‘getTargetCells()'
and i find it points to the ndt_omp.h
then i find that in their https://github.com/APRIL-ZJU/ndt_omp
the getTargetCell member function is defined as
const TargetGrid& getTargetCells () const {
return targetcells;
}
i change it as
const TargetGrid& getTargetCells() const {
return targetcells;
}
then catkin_make
the error has solved.
When i catkin_make i got this error: error: ‘class pclomp::NormalDistributionsTransform has no member named ‘getTargetCells()' and i find it points to the ndt_omp.h then i find that in their https://github.com/APRIL-ZJU/ndt_omp the getTargetCell member function is defined as const TargetGrid& getTargetCells () const { return targetcells; }
i change it as const TargetGrid& getTargetCells() const { return targetcells; } then catkin_make the error has solved.