Robotics StackExchange | Archived questions

no pointmatcher reference

i tried to catkinmake this package ethz-aslicpmapping (https://github.com/ethz-asl/ethzaslicpmapping/tree/indigodevel) , however there is error showing no pointmatcher reference. how do i solve this?

src/mapper.cpp:161: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:161: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:161: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `ICPSequence':
/usr/local/include/pointmatcher/PointMatcher.h:648: undefined reference to `PointMatcher<float>::DataPoints::DataPoints()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `Mapper::Mapper(ros::NodeHandle&, ros::NodeHandle&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:142: undefined reference to `PointMatcher<float>::get()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:172: undefined reference to `PointMatcherSupport::setLogger(PointMatcherSupport::Logger*)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:192: undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:195: undefined reference to `PointMatcherSupport::setLogger(PointMatcherSupport::Logger*)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:186: undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:236: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:181: undefined reference to `PointMatcher<float>::ICPChainBase::loadFromYaml(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:202: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:219: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `Mapper::~Mapper()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/mapper.cpp:286: undefined reference to `PointMatcher<float>::DataPoints::save(std::string const&) const'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `PointMatcher<float>::ICP::~ICP()':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `PointMatcherSupport::ROSLogger::~ROSLogger()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `~ROSLogger':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `PointMatcherSupport::ROSLogger::ROSLogger()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::Logger()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/mapper.dir/src/mapper.cpp.o: In function `PointMatcherSupport::Registrar<PointMatcher<float>::Transformation>::getDescriptor(std::string const&) const':
/usr/local/include/pointmatcher/Registrar.h:165: undefined reference to `PointMatcherSupport::InvalidElement::InvalidElement(std::string const&)'
CMakeFiles/mapper.dir/src/mapper.cpp.o:(.rodata._ZTIN19PointMatcherSupport9ROSLoggerE[_ZTIN19PointMatcherSupport9ROSLoggerE]+0x10): undefined reference to `typeinfo for PointMatcherSupport::Logger'
CMakeFiles/mapper.dir/src/mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE3ICPE[_ZTVN12PointMatcherIfE3ICPE]+0x20): undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
CMakeFiles/mapper.dir/src/mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE3ICPE[_ZTVN12PointMatcherIfE3ICPE]+0x28): undefined reference to `PointMatcher<float>::ICPChainBase::loadAdditionalYAMLContent(YAML_PM::Node&)'
CMakeFiles/mapper.dir/src/mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE11ICPSequenceE[_ZTVN12PointMatcherIfE11ICPSequenceE]+0x20): undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
CMakeFiles/mapper.dir/src/mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE11ICPSequenceE[_ZTVN12PointMatcherIfE11ICPSequenceE]+0x28): undefined reference to `PointMatcher<float>::ICPChainBase::loadAdditionalYAMLContent(YAML_PM::Node&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::DataPoints(PointMatcher<float>::DataPoints::Labels const&, PointMatcher<float>::DataPoints::Labels const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Labels::contains(std::string const&) const'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Labels::Labels()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Labels::contains(std::string const&) const'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::getFeatureViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getFeatureViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::DataPoints(PointMatcher<double>::DataPoints::Labels const&, PointMatcher<double>::DataPoints::Labels const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Label::Label(std::string const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::get()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Label::Label(std::string const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorRowViewByName(std::string const&, unsigned int)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::DataPoints()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getDescriptorRowViewByName(std::string const&, unsigned int)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Labels::Labels()'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/stella/catkin_ws/devel/lib/ethzasl_icp_mapper/mapper] Error 1
make[1]: *** [ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/CMakeFiles/mapper.dir/all] Error 2
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::saveMap(map_msgs::SaveMapRequest_<std::allocator<void> >&, map_msgs::SaveMapResponse_<std::allocator<void> >&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1022: undefined reference to `PointMatcher<float>::DataPoints::save(std::string const&) const'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::reset(std_srvs::EmptyRequest_<std::allocator<void> >&, std_srvs::EmptyResponse_<std::allocator<void> >&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1065: undefined reference to `PointMatcher<float>::ICPSequence::clearMap()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::setMap(PointMatcher<float>::DataPoints*)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:606: undefined reference to `PointMatcher<float>::ICPSequence::setMap(PointMatcher<float>::DataPoints const&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::loadMap(ethzasl_icp_mapper::LoadMapRequest_<std::allocator<void> >&, ethzasl_icp_mapper::LoadMapResponse_<std::allocator<void> >&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1038: undefined reference to `PointMatcher<float>::DataPoints::load(std::string const&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::updateMap(PointMatcher<float>::DataPoints*, Eigen::Matrix<float, -1, -1, 0, -1, -1>, bool)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:618: undefined reference to `PointMatcherSupport::timer::timer()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:628: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:631: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:634: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:637: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:640: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:650: undefined reference to `PointMatcher<float>::DataPointsFilters::apply(PointMatcher<float>::DataPoints&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:676: undefined reference to `Nabo::NearestNeighbourSearch<float>::create(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, int, Nabo::NearestNeighbourSearch<float>::SearchType, unsigned int, Nabo::Parameters const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:688: undefined reference to `PointMatcher<float>::DataPoints::createSimilarEmpty() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:699: undefined reference to `PointMatcher<float>::DataPoints::conservativeResize(long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:746: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:747: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:748: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:750: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:751: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:752: more undefined references to `PointMatcher<float>::DataPoints::getDescriptorViewByName(std::string const&)' follow
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::updateMap(PointMatcher<float>::DataPoints*, Eigen::Matrix<float, -1, -1, 0, -1, -1>, bool)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:887: undefined reference to `PointMatcher<float>::DataPoints::concatenate(PointMatcher<float>::DataPoints const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:894: undefined reference to `Nabo::NearestNeighbourSearch<float>::create(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, int, Nabo::NearestNeighbourSearch<float>::SearchType, unsigned int, Nabo::Parameters const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:899: undefined reference to `PointMatcher<float>::Matches::Matches(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, Eigen::Matrix<int, -1, -1, 0, -1, -1>)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:904: undefined reference to `PointMatcher<float>::DataPoints::createSimilarEmpty() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:905: undefined reference to `PointMatcher<float>::DataPoints::createSimilarEmpty() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:920: undefined reference to `PointMatcher<float>::DataPoints::setColFrom(long, PointMatcher<float>::DataPoints const&, long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:925: undefined reference to `PointMatcher<float>::DataPoints::setColFrom(long, PointMatcher<float>::DataPoints const&, long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:930: undefined reference to `PointMatcher<float>::DataPoints::conservativeResize(long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:931: undefined reference to `PointMatcher<float>::DataPoints::conservativeResize(long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:943: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:945: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:947: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:961: undefined reference to `PointMatcher<float>::DataPoints::concatenate(PointMatcher<float>::DataPoints const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:962: undefined reference to `PointMatcher<float>::DataPointsFilters::apply(PointMatcher<float>::DataPoints&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:693: undefined reference to `PointMatcher<float>::DataPoints::setColFrom(long, PointMatcher<float>::DataPoints const&, long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:642: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:965: undefined reference to `PointMatcherSupport::timer::elapsed() const'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::processCloud(std::unique_ptr<PointMatcher<float>::DataPoints, std::default_delete<PointMatcher<float>::DataPoints> >, std::string const&, ros::Time const&, unsigned int)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:375: undefined reference to `PointMatcherSupport::timer::timer()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:391: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:400: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:401: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:402: undefined reference to `PointMatcher<float>::DataPoints::addDescriptor(std::string const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:410: undefined reference to `PointMatcherSupport::timer::timer()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:413: undefined reference to `PointMatcher<float>::DataPointsFilters::apply(PointMatcher<float>::DataPoints&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:420: undefined reference to `PointMatcher<float>::ICPSequence::hasMap() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:466: undefined reference to `PointMatcher<float>::ICPSequence::hasMap() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:391: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:391: undefined reference to `PointMatcher<float>::DataPoints::descriptorExists(std::string const&) const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:476: undefined reference to `PointMatcher<float>::ICPSequence::getInternalMap() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:478: undefined reference to `PointMatcher<float>::ICPSequence::getInternalMap() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:486: undefined reference to `PointMatcher<float>::ICPSequence::operator()(PointMatcher<float>::DataPoints const&, Eigen::Matrix<float, -1, -1, 0, -1, -1> const&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:575: undefined reference to `PointMatcherSupport::timer::elapsed() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:545: undefined reference to `PointMatcher<float>::ICPSequence::getInternalMap() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:576: undefined reference to `PointMatcherSupport::timer::elapsed() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:415: undefined reference to `PointMatcherSupport::timer::elapsed() const'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::getBoundedMap(ethzasl_icp_mapper::GetBoundedMapRequest_<std::allocator<void> >&, ethzasl_icp_mapper::GetBoundedMapResponse_<std::allocator<void> >&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1144: undefined reference to `PointMatcher<float>::DataPoints::createSimilarEmpty() const'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1167: undefined reference to `PointMatcher<float>::DataPoints::conservativeResize(long)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:1160: undefined reference to `PointMatcher<float>::DataPoints::setColFrom(long, PointMatcher<float>::DataPoints const&, long)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::Mapper(ros::NodeHandle&, ros::NodeHandle&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:199: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:199: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:199: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `ICPSequence':
/usr/local/include/pointmatcher/PointMatcher.h:648: undefined reference to `PointMatcher<float>::DataPoints::DataPoints()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::Mapper(ros::NodeHandle&, ros::NodeHandle&)':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:168: undefined reference to `PointMatcher<float>::get()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:210: undefined reference to `PointMatcherSupport::setLogger(PointMatcherSupport::Logger*)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:230: undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:233: undefined reference to `PointMatcherSupport::setLogger(PointMatcherSupport::Logger*)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:224: undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:274: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:219: undefined reference to `PointMatcher<float>::ICPChainBase::loadFromYaml(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:240: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:257: undefined reference to `PointMatcher<float>::DataPointsFilters::DataPointsFilters(std::istream&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `Mapper::~Mapper()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/src/dynamic_mapper.cpp:325: undefined reference to `PointMatcher<float>::DataPoints::save(std::string const&) const'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `PointMatcher<float>::ICP::~ICP()':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `PointMatcherSupport::ROSLogger::~ROSLogger()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `~ROSLogger':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `~ICP':
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
/usr/local/include/pointmatcher/PointMatcher.h:622: undefined reference to `PointMatcher<float>::ICPChainBase::~ICPChainBase()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `PointMatcherSupport::ROSLogger::ROSLogger()':
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::Logger()'
/home/stella/catkin_ws/src/ethzasl_icp_mapping-indigo_devel/libpointmatcher_ros/include/pointmatcher_ros/ros_logger.h:8: undefined reference to `PointMatcherSupport::Logger::~Logger()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o: In function `PointMatcherSupport::Registrar<PointMatcher<float>::Transformation>::getDescriptor(std::string const&) const':
/usr/local/include/pointmatcher/Registrar.h:165: undefined reference to `PointMatcherSupport::InvalidElement::InvalidElement(std::string const&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:(.rodata._ZTIN19PointMatcherSupport9ROSLoggerE[_ZTIN19PointMatcherSupport9ROSLoggerE]+0x10): undefined reference to `typeinfo for PointMatcherSupport::Logger'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE3ICPE[_ZTVN12PointMatcherIfE3ICPE]+0x20): undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE3ICPE[_ZTVN12PointMatcherIfE3ICPE]+0x28): undefined reference to `PointMatcher<float>::ICPChainBase::loadAdditionalYAMLContent(YAML_PM::Node&)'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE11ICPSequenceE[_ZTVN12PointMatcherIfE11ICPSequenceE]+0x20): undefined reference to `PointMatcher<float>::ICPChainBase::setDefault()'
CMakeFiles/dynamic_mapper.dir/src/dynamic_mapper.cpp.o:(.rodata._ZTVN12PointMatcherIfE11ICPSequenceE[_ZTVN12PointMatcherIfE11ICPSequenceE]+0x28): undefined reference to `PointMatcher<float>::ICPChainBase::loadAdditionalYAMLContent(YAML_PM::Node&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::DataPoints(PointMatcher<float>::DataPoints::Labels const&, PointMatcher<float>::DataPoints::Labels const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Labels::contains(std::string const&) const'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Labels::Labels()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Labels::contains(std::string const&) const'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::getFeatureViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getDescriptorViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getFeatureViewByName(std::string const&)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::DataPoints(PointMatcher<double>::DataPoints::Labels const&, PointMatcher<double>::DataPoints::Labels const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::Label::Label(std::string const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::get()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Label::Label(std::string const&, unsigned long)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::getDescriptorRowViewByName(std::string const&, unsigned int)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::DataPoints()'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<double>::DataPoints::getDescriptorRowViewByName(std::string const&, unsigned int)'
/home/stella/catkin_ws/devel/lib/libpointmatcher_ros.so: undefined reference to `PointMatcher<float>::DataPoints::Labels::Labels()'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/stella/catkin_ws/devel/lib/ethzasl_icp_mapper/dynamic_mapper] Error 1
make[1]: *** [ethzasl_icp_mapping-indigo_devel/ethzasl_icp_mapper/CMakeFiles/dynamic_mapper.dir/all] Error 2
make: *** [all] Error 2

Asked by HELPME on 2015-04-14 04:44:15 UTC

Comments

Answers