Re: [ros-users] PCL tutorials build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [ros-users] PCL tutorials build

Radu B. Rusu
Administrator
Homer,

Can you please try PCL 0.8?

My PCL says:

$ grep setDepthImage include/pcl/range_image/range_image_planar.h
       setDepthImage (const float* depth_image, int di_width, int di_height, float di_center_x, float di_center_y,


So the method is definitely defined there.

PS. Please use [hidden email] for PCL related questions. Thanks!

Cheers,
Radu.
--
http://pointclouds.org

On 01/31/2011 12:04 AM, Homer Manalo wrote:

> Hello,
>
> I'm getting build error on pcl_tutorials. I've used the unstable and trunk versions, both have error. How do you fix
> this? ROS on Ubuntu 10.10
>
>     [ rosmake ] Packages requested are: ['pcl_tutorials']
>     [ rosmake ] Logging to directory/home/roboteknik/.ros/rosmake/rosmake_output-20110131-154133
>     [ rosmake ] Expanded args ['pcl_tutorials'] to:
>     ['pcl_tutorials']
>     [ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for
>     permissions. . .
>     executing this script:
>       set -o errexit
>     #No Packages to install
>     [ rosmake ] rosdep successfully installed all system dependencies
>     [rosmake-0] Starting >>> roslib [ make ]
>     [rosmake-0] Finished <<< roslib ROS_NOBUILD in package roslib
>     [rosmake-1] Starting >>> roslang [ make ]
>     [rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
>       No Makefile in package roslang
>     [rosmake-0] Starting >>> xmlrpcpp [ make ]
>     [rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
>     [rosmake-0] Starting >>> rosconsole [ make ]
>     [rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
>     [rosmake-1] Starting >>> rospy [ make ]
>     [rosmake-0] Starting >>> roscpp [ make ]
>     [rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy
>     [rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp
>     [rosmake-0] Starting >>> std_msgs [ make ]
>     [rosmake-0] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
>     [rosmake-1] Starting >>> rosclean [ make ]
>     [rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean
>     [rosmake-0] Starting >>> rosgraph [ make ]
>     [rosmake-0] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
>     [rosmake-1] Starting >>> rosmaster [ make ]
>     [rosmake-1] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
>     [rosmake-0] Starting >>> rosout [ make ]
>     [rosmake-0] Finished <<< rosout ROS_NOBUILD in package rosout
>     [rosmake-1] Starting >>> roslaunch [ make ]
>     [rosmake-1] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
>       No Makefile in package roslaunch
>     [rosmake-1] Starting >>> rostest [ make ]
>     [rosmake-1] Finished <<< rostest ROS_NOBUILD in package rostest
>     [rosmake-1] Starting >>> topic_tools [ make ]
>     [rosmake-1] Finished <<< topic_tools ROS_NOBUILD in package topic_tools
>     [rosmake-1] Starting >>> rosbag [ make ]
>     [rosmake-1] Finished <<< rosbag ROS_NOBUILD in package rosbag
>     [rosmake-1] Starting >>> rosrecord [ make ]
>     [rosmake-1] Finished <<< rosrecord ROS_NOBUILD in package rosrecord
>     [rosmake-1] Starting >>> rosbagmigration [ make ]
>     [rosmake-1] Finished <<< rosbagmigration ROS_NOBUILD in package rosbagmigration
>       No Makefile in package rosbagmigration
>     [rosmake-1] Starting >>> geometry_msgs [ make ]
>     [rosmake-1] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs
>     [rosmake-1] Starting >>> sensor_msgs [ make ]
>     [rosmake-1] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs
>     [rosmake-0] Starting >>> eigen3 [ make ]
>     [rosmake-1] Starting >>> cminpack [ make ]
>     [rosmake-0] Finished <<< eigen3 [PASS] [ 0.04 seconds ]
>     [rosmake-1] Finished <<< cminpack [PASS] [ 0.04 seconds ]
>     [rosmake-0] Starting >>> flann [ make ]
>     [rosmake-1] Starting >>> tinyxml [ make ]
>     [rosmake-1] Finished <<< tinyxml ROS_NOBUILD in package tinyxml
>     [rosmake-0] Finished <<< flann [PASS] [ 0.03 seconds ]
>     [rosmake-1] Starting >>> pluginlib [ make ]
>     [rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
>     [rosmake-1] Starting >>> nodelet [ make ]
>     [rosmake-0] Starting >>> pcl [ make ]
>     [rosmake-1] Finished <<< nodelet ROS_NOBUILD in package nodelet
>     [rosmake-1] Starting >>> message_filters [ make ]
>     [rosmake-1] Finished <<< message_filters ROS_NOBUILD in package message_filters
>     [rosmake-1] Starting >>> nodelet_topic_tools [ make ]
>     [rosmake-1] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools
>     [rosmake-1] Starting >>> rosmsg [ make ]
>     [rosmake-1] Finished <<< rosmsg ROS_NOBUILD in package rosmsg
>       No Makefile in package rosmsg
>     [rosmake-1] Starting >>> rosservice [ make ]
>     [rosmake-1] Finished <<< rosservice ROS_NOBUILD in package rosservice
>     [rosmake-1] Starting >>> dynamic_reconfigure [ make ]
>     [rosmake-1] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
>     [rosmake-1] Starting >>> bullet [ make ]
>     [rosmake-1] Finished <<< bullet ROS_NOBUILD in package bullet
>     [rosmake-1] Starting >>> angles [ make ]
>     [rosmake-1] Finished <<< angles ROS_NOBUILD in package angles
>     [rosmake-1] Starting >>> rosnode [ make ]
>     [rosmake-1] Finished <<< rosnode ROS_NOBUILD in package rosnode
>     [rosmake-1] Starting >>> roswtf [ make ]
>     [rosmake-1] Finished <<< roswtf ROS_NOBUILD in package roswtf
>     [rosmake-1] Starting >>> tf [ make ]
>     [rosmake-1] Finished <<< tf ROS_NOBUILD in package tf
>     [rosmake-1] Starting >>> wxpropgrid [ make ]
>     [rosmake-1] Finished <<< wxpropgrid ROS_NOBUILD in package wxpropgrid
>     [rosmake-1] Starting >>> terminal_tools [ make ]
>     [rosmake-0] Finished <<< pcl [PASS] [ 6.96 seconds ]
>     [rosmake-0] Starting >>> pcl_ros [ make ]
>     [rosmake-1] Finished <<< terminal_tools [PASS] [ 7.79 seconds ]
>     [rosmake-1] Starting >>> stereo_msgs [ make ]
>     [rosmake-1] Finished <<< stereo_msgs ROS_NOBUILD in package stereo_msgs
>     [rosmake-0] Finished <<< pcl_ros [PASS] [ 11.48 seconds ]
>     [rosmake-0] Starting >>> pcl_visualization [ make ]
>     [rosmake-0] Finished <<< pcl_visualization [PASS] [ 140.26 seconds ]
>     [rosmake-0] Starting >>> pcl_tutorials [ make ]
>     [ rosmake ] Last 40 linesl_tutorials: 407.3 sec ]                                                    [ 1 Active
>     43/44 Complete ]
>     {-------------------------------------------------------------------------------
>                         from /usr/include/vtk-5.4/vtkIndent.h:24,
>                         from /usr/include/vtk-5.4/vtkObjectBase.h:43,
>                         from /usr/include/vtk-5.4/vtkObject.h:41,
>                         from /usr/include/vtk-5.4/vtkObjectFactory.h:43,
>                         from /home/roboteknik/ros/stacks/trunk/pcl_visualization/include/pcl_visualization/interactor.h:40,
>                         from
>     /home/roboteknik/ros/stacks/trunk/pcl_visualization/include/pcl_visualization/pcl_visualizer.h:45,
>                         from /home/roboteknik/ros/stacks/trunk/pcl_tutorials/src/range_image_live_viewer.cpp:51:
>        /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated
>     or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated
>     interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the
>     file backward_warning.h. To disable this warning use -Wno-deprecated.
>        /home/roboteknik/ros/stacks/trunk/pcl_tutorials/src/range_image_live_viewer.cpp: In function ‘int main(int, char**)’:
>        /home/roboteknik/ros/stacks/trunk/pcl_tutorials/src/range_image_live_viewer.cpp:222: error: ‘class
>     pcl::RangeImagePlanar’ has no member named ‘setDepthImage’
>        Linking CXX executable ../bin/tutorial_range_image_border_extraction
>        make[3]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        [ 82%] Built target tutorial_range_image_border_extraction
>        make[3]: Entering directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        Scanning dependencies of target tutorial_range_image_visualization
>        make[3]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        make[3]: Entering directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        [ 85%] Building CXX object CMakeFiles/tutorial_range_image_visualization.dir/src/range_image_visualization.o
>        In file included from /usr/include/c++/4.4/backward/strstream:47,
>                         from /usr/include/vtk-5.4/vtkIOStream.h:112,
>                         from /usr/include/vtk-5.4/vtkSystemIncludes.h:40,
>                         from /usr/include/vtk-5.4/vtkIndent.h:24,
>                         from /usr/include/vtk-5.4/vtkObjectBase.h:43,
>                         from /usr/include/vtk-5.4/vtkObject.h:41,
>                         from /usr/include/vtk-5.4/vtkObjectFactory.h:43,
>                         from /home/roboteknik/ros/stacks/trunk/pcl_visualization/include/pcl_visualization/interactor.h:40,
>                         from
>     /home/roboteknik/ros/stacks/trunk/pcl_visualization/include/pcl_visualization/pcl_visualizer.h:45,
>                         from /home/roboteknik/ros/stacks/trunk/pcl_tutorials/src/range_image_visualization.cpp:48:
>        /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated
>     or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated
>     interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the
>     file backward_warning.h. To disable this warning use -Wno-deprecated.
>        make[3]: *** [CMakeFiles/tutorial_range_image_live_viewer.dir/src/range_image_live_viewer.o] Error 1
>        make[3]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        make[2]: *** [CMakeFiles/tutorial_range_image_live_viewer.dir/all] Error 2
>        make[2]: *** Waiting for unfinished jobs....
>        Linking CXX executable ../bin/tutorial_range_image_visualization
>        make[3]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        [ 85%] Built target tutorial_range_image_visualization
>        make[2]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>        make[1]: *** [all] Error 2
>        make[1]: Leaving directory `/home/roboteknik/ros/stacks/trunk/pcl_tutorials/build'
>     -------------------------------------------------------------------------------}
>     [ rosmake ] Output from build of package pcl_tutorials written to:                                   [ 1 Active
>     43/44 Complete ]
>     [ rosmake ]    /home/roboteknik/.ros/rosmake/rosmake_output-20110131-154133/pcl_tutorials/build_output.log
>     [rosmake-0] Finished <<< pcl_tutorials [FAIL] [ 407.40 seconds ]
>     [ rosmake ] Halting due to failure in package pcl_tutorials.
>     [ rosmake ] Waiting for other threads to complete.
>     [ rosmake ] Results:
>     [ rosmake ] Built 44 packages with 1 failures.
>     [ rosmake ] Summary output to directory
>     [ rosmake ] /home/roboteknik/.ros/rosmake/rosmake_output-20110131-154133
>
>
> Thanks,
> Homer
>
>
>
> _______________________________________________
> ros-users mailing list
> [hidden email]
> https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
[hidden email] / http://pointclouds.org
https://code.ros.org/mailman/listinfo/pcl-users