Problem building pcl_ros [closed]
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'
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)?
This is 1.6 that I downloaded. Yes I'm using furte
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.
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