ethz-asl/ros-mapping — Issue #2: ros-mapping compilation problem #1
Author: ddavies
Created: 2011-10-25 21:22:00+00:00
State: open

Hi,

I have the electric release of ros running on Ubuntu 11.04. I followed the instructions on https://github.com/ethz-asl/ros-mapping to bring over and compile ros-mapping. The first issue was that rosmake complained about the differences between the yaml-cpp items in ros-mapping's rosdep.yaml and ros's version.

ddavies@ddlinux:~$ rosmake --rosdep-install ethzasl_mapping
[ rosmake ] Packages requested are: ['ethzasl_mapping']
[ rosmake ] Logging to directory/etc/ros/rosmake/rosmake_output-20111025-133831
[ rosmake ] Expanded args ['ethzasl_mapping'] to:
['libnabo', 'extrinsic_calibration', 'kinect_exp_logger', 'modular_cloud_matcher']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .
[ rosmake ] rosdep install failed: QUITTING: due to conflicting rosdep definitions, please resolve this conflict.
Rules for yaml-cpp do not match:
{'apt': {'packages': ['yaml-cpp0.2.6-dev']}} [/opt/ros/electric/stacks/common_rosdeps/rosdep.yaml]
yaml-cpp0.2.6-dev [/opt/ros_addons/electric/stacks/ethzasl_mapping/rosdep.yaml]

In /opt/ros_addons/electric/stacks/ethzasl_mapping/rosdep.yaml I changed

--------------------------

yaml-cpp:
ubuntu: yaml-cpp0.2.6-dev

--------------------------
to
--------------------------
yaml-cpp:
ubuntu:
apt:
packages: [ yaml-cpp0.2.6-dev ]

---------------------------

This fixed the first problem. The make then failed because it didn't have permission to create the "build" directory, but that was easily fixed. The next problem is in the next message.