Problem building pcl_ros [closed]

asked 2013-01-04 10:18:13 -0500

MarkyMark2012 gravatar image

Hi All,

As part of freenect_stack it builds pcl_ros. I'm getting the compilation error below...any why this is a problem. I've downloaded PCL-1.6 source.

Thanks

Mark

[ 40%] Building CXX object CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o
In file included from /home/pi/ros/perception_pcl/pcl_ros/src/pcl_ros  /transforms.cpp:39:0:
/home/pi/PCL-1.6.0-Source/common/include/pcl/point_types.h:56:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
In file included from /home/pi/ros/perception_pcl/pcl_ros/src/pcl_ros/transforms.cpp:39:0:
/home/pi/PCL-1.6.0-Source/common/include/pcl/point_types.h:590:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
In file included from /home/pi/ros/perception_pcl/pcl_ros/src/pcl_ros/transforms.cpp:40:0:
/home/pi/ros/perception_pcl/pcl_ros/include/pcl_ros/transforms.h:41:41: fatal error: pcl/registration/transforms.h: No such file or directory
compilation terminated.
make[3]: *** [CMakeFiles/pcl_ros_tf.dir/src/pcl_ros/transforms.o] Error 1
make[3]: Leaving directory `/home/pi/ros/perception_pcl/pcl_ros/build'
make[2]: *** [CMakeFiles/pcl_ros_tf.dir/all] Error 2
make[2]: Leaving directory `/home/pi/ros/perception_pcl/pcl_ros/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pi/ros/perception_pcl/pcl_ros/build'
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-09-28 01:13:43.348325

Comments

Can you tell which version of pcl you are using? I had a similar problem once. Have you installed any other version of pcl istead of the default one (I assume that you are using fuerte)?

yigit gravatar image yigit  ( 2013-01-05 16:41:50 -0500 )edit

This is 1.6 that I downloaded. Yes I'm using furte

MarkyMark2012 gravatar image MarkyMark2012  ( 2013-01-06 02:11:22 -0500 )edit

Yeah I missed that part, sorry. I am not sure, again, but it looks like there exists a version mismatch there. In fuerte, afaik, the default version of pcl is 1.5, but the path to transforms.h is changed in 1.6. To conclude, your code tries to include transforms.h with the old path.

yigit gravatar image yigit  ( 2013-01-06 09:47:02 -0500 )edit

After some messing around seem to to have the same problem as here http://answers.ros.org/question/46378/pcl-on-ros-fuerte/ now. Shall see what 1.5 brings me

MarkyMark2012 gravatar image MarkyMark2012  ( 2013-01-06 19:55:44 -0500 )edit