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

How to solve pcl/kdtree/kdtree_ann.h not found?

asked 2012-07-04 03:15:54 -0600

sam gravatar image

I followed find_object.

I download:

 svn co
 svn co

And I rosmake,it shows:

  In file included from /home/sam/code/ros/sam_perception/find_object/table_boundary_detector/src/table_boundary_node.cpp:1:
    /home/sam/code/ros/sam_perception/find_object/table_boundary_detector/include/table_boundary_node.hh:23: fatal error: pcl/kdtree/kdtree_ann.h: No such file or directory
    compilation terminated.

I try to install PCL,but not works:

  sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
  sudo apt-get update
  sudo apt-get install libpcl-all

How to solve it?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-04 07:17:58 -0600

Lorenz gravatar image

The package find_object is really old and I wouldn't expect it to work without investing quite some time fixing it. Your current problem seems to be that your PCL version is much more recent than what find_object expects. That means you'll have to fix find_object to work with the newer PCL version.

edit flag offensive delete link more


Is there any package to replace find_object? Or how to fix that problem? Thank you~

sam gravatar image sam  ( 2012-07-04 15:44:08 -0600 )edit

I don't know about any other package that provides the same functionality in such an integrated way. But you have the source code of find_object so can try fixing it and upgrading it to the new PCL version.

Lorenz gravatar image Lorenz  ( 2012-07-04 22:01:54 -0600 )edit

Yeah, I post the original question because I don't know how to fix it. Is there any solutions? Thank you~

sam gravatar image sam  ( 2012-07-05 01:48:30 -0600 )edit

Question Tools


Asked: 2012-07-04 03:15:54 -0600

Seen: 549 times

Last updated: Jul 04 '12