ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Failed depth_image_proc build on OSX

asked 2012-04-26 02:32:24 -0500

Kevin gravatar image

I am having a problem getting depth_image_proc to compile on OSX 10.7.3 for Fuerte. I forked rosdistro and added a homebrew line for pcl (which is installed ... 1.5.1), but it still fails. Any thoughts?

[kevin@dhcp184-48-194-60 depth_image_proc]$ rosmake depth_image_proc [ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['depth_image_proc']
[ rosmake ] Logging to directory /Users/kevin/.ros/rosmake/rosmake_output-20120426-082529 [ rosmake ] Expanded args ['depth_image_proc'] to: ['depth_image_proc']
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> rosservice [ make ]
[rosmake-1] Finished <<< rosservice ROS_NOBUILD in package rosservice No Makefile in package rosservice [rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-0] Starting >>> rospy [ make ]
[rosmake-0] Finished <<< rospy ROS_NOBUILD in package rospy No Makefile in package rospy [rosmake-0] Starting >>> roscpp [ make ]
[rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp No Makefile in package roscpp [rosmake-0] Starting >>> sensor_msgs [ make ]
[rosmake-0] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs No Makefile in package sensor_msgs [rosmake-0] Starting >>> opencv2 [ make ]
[rosmake-1] Starting >>> dynamic_reconfigure [ make ]
[rosmake-0] Finished <<< opencv2 [PASS] [ 0.05 seconds ]
[rosmake-0] Starting >>> image_geometry [ make ]
[rosmake-1] Finished <<< dynamic_reconfigure [PASS] [ 8.49 seconds ]
[rosmake-1] Starting >>> rosbuild [ make ]
[rosmake-1] Finished <<< rosbuild ROS_NOBUILD in package rosbuild No Makefile in package rosbuild [rosmake-1] Starting >>> roslib [ make ]
[rosmake-1] Finished <<< roslib ROS_NOBUILD in package roslib No Makefile in package roslib [rosmake-1] Starting >>> rosconsole [ make ]
[rosmake-1] Finished <<< rosconsole ROS_NOBUILD in package rosconsole No Makefile in package rosconsole [rosmake-1] Starting >>> pluginlib [ make ]
[rosmake-0] Finished <<< image_geometry [PASS] [ 10.57 seconds ]
[rosmake-0] Starting >>> message_filters [ make ]
[rosmake-0] Finished <<< message_filters ROS_NOBUILD in package message_filters No Makefile in package message_filters [rosmake-0] Starting >>> bond [ make ]
[rosmake-1] Finished <<< pluginlib [PASS] [ 4.51 seconds ]
[rosmake-1] Starting >>> image_transport [ make ]
[rosmake-0] Finished <<< bond [PASS] [ 2.70 seconds ]
[rosmake-0] Starting >>> smclib [ make ]
[rosmake-0] Finished <<< smclib [PASS] [ 0.08 seconds ]
[rosmake-0] Starting >>> bondcpp [ make ]
[rosmake-0] Finished <<< bondcpp [PASS] [ 2.98 seconds ]
[rosmake-0] Starting >>> nodelet [ make ]
[rosmake-1] Finished <<< image_transport [PASS] [ 3.76 seconds ]
[rosmake-1] Starting >>> rosbag [ make ]
[rosmake-1] Finished <<< rosbag ROS_NOBUILD in package rosbag No Makefile in package rosbag [rosmake-1] Starting >>> geometry_msgs [ make ]
[rosmake-1] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs No Makefile in package geometry_msgs [rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs [rosmake-1] Starting >>> bullet [ make ]
[ rosmake ] Output from build of package bullet written to:tive 20/31 Complete ] [ rosmake ] /Users/kevin/.ros/rosmake/rosmake_output-20120426-082529/bullet/build_output.log [rosmake-1] Finished <<< bullet [PASS] [ 2.04 seconds ] -- WARNING: 4 compiler warnings [rosmake-1] Starting >>> angles [ make ]
[rosmake-1] Finished <<< angles [PASS] [ 2.00 seconds ]
[rosmake-1] Starting >>> rostest [ make ]
[rosmake-1] Finished <<< rostest ROS_NOBUILD in package rostest No Makefile in package rostest [rosmake-1] Starting >>> roswtf [ make ]
[rosmake-1] Finished <<< roswtf ROS_NOBUILD in package roswtf No Makefile in package roswtf [rosmake-1] Starting >>> tf [ make ]
[rosmake-0] Finished <<< nodelet [PASS] [ 5.03 seconds ]
[rosmake-0] Starting >>> nodelet_topic_tools [ make ]
[rosmake-0] Finished <<< nodelet_topic_tools [PASS] [ 2.89 seconds ]
[rosmake-0] Starting >>> common_rosdeps [ make ]
[rosmake-0] Finished <<< common_rosdeps [PASS] [ 0.39 seconds ]
[rosmake-0] Starting >>> stereo_msgs [ make ]
[rosmake-0] Finished <<< stereo_msgs ROS_NOBUILD in package stereo_msgs No Makefile in package stereo_msgs [rosmake-1] Finished <<< tf [PASS] [ 6.79 seconds ]
[rosmake-1] Starting >>> pcl_ros [ make ]
[rosmake-1] Finished <<< pcl_ros [SKIP] No rule to make target None ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-26 03:07:30 -0500

Kevin gravatar image

updated 2012-04-29 08:55:39 -0500

I figured it out ... it is another boost linking error. Fuerte, OSX, and boost don't seem to always work like it does in linux.

Follow these instructions to update pcl dependencies for osx.

Add the following lines to CMakeLists.txt in depth_image_proc:

rosbuild_add_boost_directories()
rosbuild_link_boost(depth_image_proc thread signals)

Then it will compile correctly. You will also need to change pcl from a package to a rosdep in manifest.xml.

You also need to do similar things in bondcpp and image_view if you get errors there.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-26 02:32:24 -0500

Seen: 800 times

Last updated: Apr 29 '12