ethz-asl / ethzasl_icp_mapping

3D mapping tools for robotic applications
272 stars 156 forks source link

ros-mapping compilation problem #1 #2

Closed ddavies closed 12 years ago

ddavies commented 12 years ago

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.

stephanemagnenat commented 12 years ago

I've asked a queston on answers.ros.org about this issue (see http://answers.ros.org/question/2701/multiple-ros-release-support-in-rosdepyaml).

stephanemagnenat commented 12 years ago

Should be fixed now.