ROS Fuerte and PCL from source on ARM / Hard-float support
Hi guys,
Unfortunately, I can't use the apt-get install ros-fuerte-pcl command and need an installation from source. (I'm using an ARM board and Ubuntu 12.04) I'm asking because it seems that in the new ROS Fuerte setup the PCL Library is not included and is seen as an external system dependency.
When i use $roslocate info pcl I get the following output:
- svn: local-name: pcl uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/pcl
But this website doesn't exist. But there seems to be a special PCL version for ROS (see the Willow Garage repository [https://github.com/wg-debs/pcl-release] ) saw that at answers.ros.org (link)
So i tried to compile the code from WG with the USE_ROS option on ON and it fails to compile with the following failure.
[ 1%] Built target gtest
[ 1%] Built target gtest_main
[ 8%] Built target pcl_common
[ 9%] Built target pcl_kdtree
[ 10%] Built target pcl_octree
[ 12%] Built target pcl_search
[ 23%] Built target pcl_sample_consensus
[ 23%] Built target pcl_geometry
[ 26%] Built target pcl_segmentation
[ 26%] Building CXX object io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o
In file included from /home/panda/ros/pcl-release/io/include/pcl/io/ply/ply.h:45:0,
from /home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h:61,
from /home/panda/ros/pcl-release/io/src/ply/ply_parser.cpp:41:
/home/panda/ros/pcl-release/io/include/pcl/io/ply/byte_order.h:65:4: error: #error
In file included from /home/panda/ros/pcl-release/io/include/pcl/io/ply/ply.h:45:0,
from /home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h:61,
from /home/panda/ros/pcl-release/io/src/ply/ply_parser.cpp:41:
/home/panda/ros/pcl-release/io/include/pcl/io/ply/byte_order.h:77:4: error: #error
In file included from /home/panda/ros/pcl-release/io/src/ply/ply_parser.cpp:41:0:
/home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h: In member function ‘bool pcl::io::ply::ply_parser::parse_scalar_property(pcl::io::ply::format_type, std::istream&, const typename pcl::io::ply::ply_parser::scalar_property_callback_type<ScalarType>::type&)’:
/home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h:577:51: error: ‘host_byte_order’ was not declared in this scope
/home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h: In member function ‘bool pcl::io::ply::ply_parser::parse_list_property(pcl::io::ply::format_type, std::istream&, const typename pcl::io::ply::ply_parser::list_property_begin_callback_type<SizeType, ScalarType>::type&, const typename pcl::io::ply::ply_parser::list_property_element_callback_type<SizeType, ScalarType>::type&, const typename pcl::io::ply::ply_parser::list_property_end_callback_type<SizeType, ScalarType>::type&)’:
/home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h:648:51: error: ‘host_byte_order’ was not declared in this scope
/home/panda/ros/pcl-release/io/include/pcl/io/ply/ply_parser.h:674:53: error: ‘host_byte_order’ was not declared in this scope
make[2]: *** [io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o] Error 1
make[1]: *** [io/CMakeFiles/pcl_io_ply.dir/all] Error 2
make: *** [all] Error 2
Would be great to get your thoughts about ...
Is this ROS Fuerte or Electric?