Building pcl on OSX
Hello,
i followed @Kevin's post on the Rososx-mailinglist to compile pcl
- I saved the package.xml from pcl then deleted the pcl package
- grabbed the latest pcl via svn co http://svn.pointclouds.org/pcl/trunk
- Added the modified CMakeLists.txt, pcl_find_ros.cmake and the old package.xml to the pcl folder
However building fails due to
13%] Building CXX object io/tools/ply/CMakeFiles/pcl_plyheader.dir/plyheader.cpp.o
In file included from /Users/tatsch/ros_catkin_ws/src/pcl/io/src/image_grabber.cpp:47:
In file included from /usr/local/include/vtk-5.10/vtkImageReader2.h:41:
In file included from /usr/local/include/vtk-5.10/vtkImageAlgorithm.h:28:
In file included from /usr/local/include/vtk-5.10/vtkAlgorithm.h:32:
In file included from /usr/local/include/vtk-5.10/vtkObject.h:41:
In file included from /usr/local/include/vtk-5.10/vtkObjectBase.h:43:
In file included from /usr/local/include/vtk-5.10/vtkIndent.h:24:
In file included from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40:
In file included from /usr/local/include/vtk-5.10/vtkIOStream.h:108:
In file included from /usr/include/c++/4.2.1/backward/strstream:51:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. [-W#warnings]
#warning This file includes at least one deprecated or antiquated header. \
^
Linking CXX executable ../../../bin/pcl_plyheader
[ 13%] Built target pcl_plyheader
[ 13%] Building CXX object io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.o
/Users/tatsch/ros_catkin_ws/src/pcl/io/src/image_grabber.cpp:628:32: error: no viable overloaded '='
cloud_color.header.stamp = timestamp;
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Users/tatsch/ros_catkin_ws/install_isolated/include/ros/time.h:169:22: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const ros::Time' for 1st argument
class ROSTIME_DECL Time : public TimeBase<Time, Duration>
^
/Users/tatsch/ros_catkin_ws/src/pcl/io/src/image_grabber.cpp:664:26: error: no viable overloaded '='
cloud.header.stamp = timestamp;
~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Users/tatsch/ros_catkin_ws/install_isolated/include/ros/time.h:169:22: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const ros::Time' for 1st argument
class ROSTIME_DECL Time : public TimeBase<Time, Duration>
^
/Users/tatsch/ros_catkin_ws/src/pcl/io/src/image_grabber.cpp:745:32: error: no viable overloaded '='
cloud_color.header.stamp = timestamp;
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Users/tatsch/ros_catkin_ws/install_isolated/include/ros/time.h:169:22: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'uint64_t' (aka 'unsigned long long') to 'const ros::Time' for 1st argument
class ROSTIME_DECL Time : public TimeBase<Time, Duration>
^
/Users/tatsch/ros_catkin_ws/src/pcl/io/src/image_grabber.cpp:787:26: error: no viable overloaded '='
cloud ...