Failed rosmake [pcl_ros] on ubuntu 11.10 ros-electric pandaboard
I have been working on Kinect sensor integration on Panda board. Because i am using panda board i removed "pcl_visualization" from manifest.xml in pcl directory in perception_pcl stack in Ros.
When i rosmake the pcl_ros package i get the following error..
Building CXX object src/tools/CMakeFiles/convert_pcd_to_image.dir/convert_pcd_to_image.o
make[3]: Leaving directory /home/panda/ros/perception_pcl/pcl_ros/build'
[ 29%] Building CXX object CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o
Building CXX object CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/convex_hull.o
make[3]: Entering directory
/home/panda/ros/perception_pcl/pcl_ros/build'
[ 31%] Building CXX object CMakeFiles/pcl_ros_features.dir/src/pcl_ros/features/feature.o
/home/panda/ros/perception_pcl/pcl_ros/src/pcl_ros/features/feature.cpp:50:23:fatal error: pcl/io/io.h: No such file or directory
compilation terminated.
make[3]: * [CMakeFiles/pcl_ros_features.dir/src/pcl_ros/features/feature.o] Error 1
make[3]: Leaving directory /home/panda/ros/perception_pcl/pcl_ros/build'
make[2]: *** [CMakeFiles/pcl_ros_features.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 33%] Building CXX object CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/moving_least_squares.o
<b> /home/panda/ros/perception_pcl/pcl_ros/src/pcl_ros/transforms.cpp:38:23: fatal error: pcl/io/io.h: No such file or directory</b>
compilation terminated.
In file included from /home/panda/ros/perception_pcl/pcl_ros/include/pcl_ros/surface/convex_hull.h:41:0,
from /home/panda/ros/perception_pcl/pcl_ros/src/pcl_ros/surface/convex_hull.cpp:39:
<b> /home/panda/ros/perception_pcl/pcl_ros/include/pcl_ros/pcl_nodelet.h:51:29: fatal error: pcl/point_types.h: No such file or directory</b>
compilation terminated.
In file included from /home/panda/ros/perception_pcl/pcl_ros/include/pcl_ros/surface/moving_least_squares.h:41:0,
from /home/panda/ros/perception_pcl/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp:39:
<b>/home/panda/ros/perception_pcl/pcl_ros/include/pcl_ros/pcl_nodelet.h:51:29: fatal error: pcl/point_types.h: No such file or directory</b>
compilation terminated.
/home/panda/ros/perception_pcl/pcl_ros/src/tools/convert_pcd_to_image.cpp:51:23: fatal error: pcl/io/io.h: No such file or directory
compilation terminated.
make[3]: *** [CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/convex_hull.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o] Error 1
make[3]: Leaving directory
/home/panda/ros/perception_pcl/pcl_ros/build'
make[2]: [CMakeFiles/pcl_ros_tf.dir/all] Error 2
make[3]: [CMakeFiles/pcl_ros_surface.dir/src/pcl_ros/surface/moving_least_squares.o] Error 1
make[3]: Leaving directory /home/panda/ros/perception_pcl/pcl_ros/build'
make[2]: *** [CMakeFiles/pcl_ros_surface.dir/all] Error 2
make[3]: *** [src/tools/CMakeFiles/convert_pcd_to_image.dir/convert_pcd_to_image.o] Error 1
make[3]: Leaving directory
/home/panda/ros/perception_pcl/pcl_ros/build'
make[2]: * [src/tools/CMakeFiles/convert_pcd_to_image.dir/all] Error 2
make[2]: Leaving directory /home/panda/ros/perception_pcl/pcl_ros/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
/home/panda/ros/perception_pcl/pcl_ros/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package pcl_ros written to:
[ rosmake ] /home/panda/.ros/rosmake/rosmake_output-20121220-190754/pcl_ros/build_output.log
[rosmake-0] Finished <<< pcl_ros [FAIL] [ 63.39 seconds ]
[ rosmake ] Halting due to failure in package ...
Could you include the output of "make VERBOSE=1" from within the pcl_ros directory? Specifically, just for one of the objects that fails to compile so that we can see the include lines.
Is there a "pcl/io/io.h" file inside /home/panda/ros/perception_pcl/pcl/include/pcl-1.1 ? That looks like the path that actually points to PCL and is the path that that header should be under.
The thing is that the directory structure of pcl package of Ros in perception_pcl stack is very different from the one directory included in PCLConfig.cmake so i dont know which path to add in PCL_DIR and PCL_INCLUDE_DIRS in PCLConfig.cmake. There is no include directory in pcl package directory.!
Thanks a lot Eric!!! I downloaded the makefile from the above link and then replaced the old one with this one in pcl package. I used "make" command in the directory. It did the building and installed all the files in directories as required by PCLConfig.cmake.. It Worked like a charm after that...
Excellent. I've converted that comment to an answer. If that solved your problem, accept it so others can easily find the solution in the future.
hi everybody, is there anyone with a running pandaboard + ros + kinect? if so could you please upload an image of your system? that would be greatful help for me. thanks!