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

Source installation of Fuerte but pcl dependency problem

asked 2012-07-15 18:03:02 -0600

Hyon Lim gravatar image

updated 2012-07-16 04:24:25 -0600

joq gravatar image

Hi. I'm installing ROS Fuerte by source intallation. I have followed below tutorial http://www.ros.org/wiki/fuerte/Installation/Ubuntu/Source However, there are two problems.

First is following. It seems pcl dependency problem.

hyon@hyon-gt683dx:~/ros/visualization/rviz$ rosdep install -a ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: carrot_planner: Missing resource pcl ROS path [0]=/opt/ros/fuerte/share/ros ROS path [1]=/home/hyon/ros/navigation ROS path [2]=/home/hyon/ros/diagnostics ROS path [3]=/home/hyon/ros/common ROS path [4]=/home/hyon/ros/robot_model_tutorials ROS path [5]=/home/hyon/ros/laser_pipeline ROS path [6]=/home/hyon/ros/simulator_gazebo ROS path [7]=/home/hyon/ros/visualization_tutorials ROS path [8]=/home/hyon/ros/geometry ROS path [9]=/home/hyon/ros/pluginlib ROS path [10]=/home/hyon/ros/bullet ROS path [11]=/home/hyon/ros/robot_model ROS path [12]=/home/hyon/ros/xacro ROS path [13]=/home/hyon/ros/image_transport_plugins ROS path [14]=/home/hyon/ros/dynamic_reconfigure ROS path [15]=/home/hyon/ros/stage ROS path [16]=/home/hyon/ros/executive_smach ROS path [17]=/home/hyon/ros/driver_common ROS path [18]=/home/hyon/ros/physics_ode ROS path [19]=/home/hyon/ros/visualization_common ROS path [20]=/home/hyon/ros/python_qt_binding ROS path [21]=/home/hyon/ros/bond_core ROS path [22]=/home/hyon/ros/image_common ROS path [23]=/home/hyon/ros/geometry_visualization ROS path [24]=/home/hyon/ros/common_rosdeps ROS path [25]=/home/hyon/ros/diagnostics_monitors ROS path [26]=/home/hyon/ros/bfl ROS path [27]=/home/hyon/ros/image_pipeline ROS path [28]=/home/hyon/ros/common_tutorials ROS path [29]=/home/hyon/ros/robot_model_visualization ROS path [30]=/home/hyon/ros/geometry_experimental ROS path [31]=/home/hyon/ros/perception_pcl ROS path [32]=/home/hyon/ros/vision_opencv ROS path [33]=/home/hyon/ros/visualization ROS path [34]=/home/hyon/ros/executive_smach_visualization ROS path [35]=/home/hyon/ros/slam_gmapping ROS path [36]=/home/hyon/ros/filters ROS path [37]=/home/hyon/ros/orocos_kinematics_dynamics ROS path [38]=/home/hyon/ros/geometry_tutorials ROS path [39]=/home/hyon/ros/nodelet_core ROS path [40]=/opt/ros/fuerte/stacks ROS path [41]=/opt/ros/fuerte/share ROS path [42]=/opt/ros/fuerte/share/ros

So I have installed PCL by doing followings

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl sudo apt-get update sudo apt-get install libpcl-all

Also there is a problem when I'm doing rosmake.

[rospack] Error: package/stack costmap_2d depends on non-existent package pcl

It also seems pcl problem. Do you have some advice?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2012-07-16 00:42:13 -0600

prince gravatar image

updated 2012-07-16 00:42:59 -0600

In Fuerte, PCL will be treated as standalone library, not as a package of ROS. From http://ros.org/wiki/fuerte, Section 4- Migration :

pcl: should now be used as a standard system dependency, which means you must update your CMakeLists.txt to link against them directly and add include directories as appropriate.

You had already install pcl, you shall update CMakeLists.txt to reflect include directories and link directories

edit flag offensive delete link more

Comments

No. I have a problem during install a ROS in my machine. Not a migration.

Hyon Lim gravatar image Hyon Lim  ( 2012-07-17 00:02:45 -0600 )edit

This is my problem................... hyon@hyon-t61:~$ rosdep install -a ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: carrot_planner: Missing resource pcl

Hyon Lim gravatar image Hyon Lim  ( 2012-07-17 00:03:16 -0600 )edit

hyon@hyon-t61:~$ rosdep install -a ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: carrot_planner: Missing resource pcl

Hyon Lim gravatar image Hyon Lim  ( 2012-07-17 00:03:19 -0600 )edit

answer is still valid.

prince gravatar image prince  ( 2012-07-17 05:46:36 -0600 )edit

Is your problem resolved?

prince gravatar image prince  ( 2012-07-17 17:40:45 -0600 )edit

I am having the same problem. As far as I can tell this looks like it is some problem with rosdep. I am just following the Ubuntu Source Install instructions directly as posted.

John Hoare gravatar image John Hoare  ( 2012-08-02 11:49:15 -0600 )edit
0

answered 2012-09-20 19:18:01 -0600

frank222 gravatar image

But how to update CMakeLists.txt to reflect include directories and link directories?

edit flag offensive delete link more

Comments

Using standalone version of PCL in ROS packages is a bit tricky as ROS messages do not get generated. Following post explains how to use a pcl16 packages that integrates a very recent version of pcl: http://answers.ros.org/question/39946/upgrading-to-pcl-160-with-ros-fuerte-ubuntu-1204/.

dejanpan gravatar image dejanpan  ( 2012-09-21 17:17:37 -0600 )edit
0

answered 2016-04-20 15:10:34 -0600

Mr. Kro gravatar image

Open "rgbdslam_freiburg/rgbdslam/manifest.xml", look for the line

<depend package="pcl"/>

and replace into

 <depend package="pcl_conversions"/>

The interwebz said that this is due to a fact that pcl used to be a ros package but then went independent (viva la independence) and requirement to it becomes wrong. Solved the problem for me though

P.$. after doing this you may still have problem for missing dependency for octomap or libg2o etc. but don't panic, just manually install accordingly and you'll get pass the step.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-07-15 18:03:02 -0600

Seen: 1,000 times

Last updated: Apr 20 '16