ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

libpointmatcher compilation error [closed]

asked 2011-08-02 08:12:10 -0600

freebody gravatar image

updated 2011-08-02 10:17:31 -0600

Hi,

I am trying to build libpointmatcher before I can build modular_cloud_matcher from ethzasl_mapping. My copy of libpointmatcher and libnabo have been updated to the latest.

I got the following errors:

freebody@ubuntu:~/freebody-ros-pkg/ethzasl_mapping/libpointmatcher$ make
[  7%] Building CXX object CMakeFiles/pointmatcher.dir/pointmatcher/Core.cpp.o
[ 15%] Building CXX object CMakeFiles/pointmatcher.dir/pointmatcher/DataPointsFilters.cpp.o
[ 23%] Building CXX object CMakeFiles/pointmatcher.dir/pointmatcher/Matchers.cpp.o
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp: In member function ‘MetricSpaceAligner<T>::Matches MetricSpaceAligner<T>::KDTreeMatcher::findClosests(const MetricSpaceAligner<T>::DataPoints&, const MetricSpaceAligner<T>::DataPoints&, bool&) [with T = float]’:
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp:108:   instantiated from here
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp:103: error: no matching function for call to ‘Nabo::NearestNeighbourSearch<float>::knn(const Eigen::Matrix<float, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<int, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<float, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, const int&, const float&, Nabo::NearestNeighbourSearch<float>::SearchOptionFlags, const float&)’
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libnabo/nabo/nabo.h:223: note: candidates are: long unsigned int Nabo::NearestNeighbourSearch<T>::knn(const Eigen::Matrix<Scalar, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, Eigen::Matrix<int, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, Eigen::Matrix<Scalar, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, int, T, unsigned int) [with T = float]
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libnabo/nabo/nabo.h:234: note:                 long unsigned int Nabo::NearestNeighbourSearch<T>::knn(const Eigen::Matrix<LhsScalar, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<int, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<LhsScalar, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, int, T, unsigned int) [with T = float]
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp: In member function ‘MetricSpaceAligner<T>::Matches MetricSpaceAligner<T>::KDTreeMatcher::findClosests(const MetricSpaceAligner<T>::DataPoints&, const MetricSpaceAligner<T>::DataPoints&, bool&) [with T = double]’:
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp:109:   instantiated from here
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libpointmatcher/pointmatcher/Matchers.cpp:103: error: no matching function for call to ‘Nabo::NearestNeighbourSearch<double>::knn(const Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<int, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, const int&, const double&, Nabo::NearestNeighbourSearch<double>::SearchOptionFlags, const double&)’
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libnabo/nabo/nabo.h:223: note: candidates are: long unsigned int Nabo::NearestNeighbourSearch<T>::knn(const Eigen::Matrix<Scalar, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, Eigen::Matrix<int, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, Eigen::Matrix<Scalar, -0x00000000000000001, 1, 0, -0x00000000000000001, 1>&, int, T, unsigned int) [with T = double]
/home/freebody/freebody-ros-pkg/ethzasl_mapping/libnabo/nabo/nabo.h:234: note:                 long unsigned int Nabo::NearestNeighbourSearch<T>::knn(const Eigen::Matrix<LhsScalar, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<int, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, Eigen::Matrix<LhsScalar, -0x00000000000000001, -0x00000000000000001, 0, -0x00000000000000001, -0x00000000000000001>&, int, T, unsigned int) [with T = double]
make[2]: *** [CMakeFiles/pointmatcher.dir/pointmatcher/Matchers.cpp.o] Error 1
make[1]: *** [CMakeFiles/pointmatcher.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-03-15 17:32:27

1 Answer

Sort by » oldest newest most voted
0

answered 2012-02-23 07:45:48 -0600

Could you try again? Without any addition information it is difficult to help you trace the source of the problem.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-08-02 08:12:10 -0600

Seen: 725 times

Last updated: Feb 23 '12