Robotics StackExchange | Archived questions

Problem building pcl_ros

Hi All,

As part of freenectstack it builds pclros. 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'

Asked by MarkyMark2012 on 2013-01-04 11:18:13 UTC

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)?

Asked by yigit on 2013-01-05 17:41:50 UTC

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

Asked by MarkyMark2012 on 2013-01-06 03:11:22 UTC

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.

Asked by yigit on 2013-01-06 10:47:02 UTC

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

Asked by MarkyMark2012 on 2013-01-06 20:55:44 UTC

Answers