Package Details: ros-indigo-costmap-2d 1.12.13-1

Git Clone URL: https://aur.archlinux.org/ros-indigo-costmap-2d.git (read-only)
Package Base: ros-indigo-costmap-2d
Description: ROS - This package provides an implementation of a 2D costmap.
Upstream URL: http://wiki.ros.org/costmap_2d
Licenses: BSD
Submitter: rreignier
Maintainer: None
Last Packager: rreignier
Votes: 0
Popularity: 0.000000
First Submitted: 2015-08-28 05:41
Last Updated: 2016-11-24 11:22

Sources (1)

Latest Comments

bchretien commented on 2015-10-21 12:26

Oh well, I took care of one of the updates, but there's been another one shortly after, so I need to re-bump pcl-ros just in case. Still, same problem w.r.t. pcl.

bchretien commented on 2015-10-21 12:20

The problem comes from PCL. It relies on VTK, so it needs to be recompiled after the last update. I notified the maintainer, but he did not bump the package, so people need to do it manually when they realize there's a problem. Plus, there's nothing more fun than rebuilding PCL (even with MAKEFLAGS properly set...).

Btw, if you want to track that kind of errors, remember that catkin stores its information (including the libraries the packages will need to link with) in CMake files located in /opt/ros/indigo/share/*/cmake/*. Thus you can just grep /opt/ros/indigo/share for the missing libraries, and see which ROS packages need to be recompiled.

For instance, before a proper PCL update:

$ for f in `grep -irl "vtkRenderingFreeTypeOpenGL" /opt/ros/indigo/share`; do pacman -Qo $f; done
/opt/ros/indigo/share/pcl_ros/cmake/pcl_rosConfig.cmake is owned by ros-indigo-pcl-ros 1.2.7-1

Then rebuild pcl and ros-indigo-pcl-ros, re-run the command and it should not yield any result.

In case of chain dependencies, you need to start rebuilding the "oldest" ancestors first, e.g. if C depends on B that depends on A, start with A, then B, then C, since this kind of issue can propagate. The problem is that if you're maintaining B and C but not A, there's not much you can do about it if A is not updated. I bumped pcl-ros, but pcl wasn't, so it did not help much...

rreignier commented on 2015-10-21 10:32

Hi lstarnes,
Thanks for the report. It looks like it is exactly the issue you've pointed out. But I have no idea how to fix it as I did not find anything about vtk in the costmap-2d source files (https://github.com/ros-planning/navigation/tree/indigo-devel/costmap_2d).

lstarnes commented on 2015-10-21 06:33

This fails to build with vtk 6.3.0-3 due to a breaking change in vtk >6.3:

make[2]: *** No rule to make target '/usr/lib/libvtkRenderingFreeTypeOpenGL.so.1', needed by 'devel/lib/libcostmap_2d.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:784: recipe for target 'CMakeFiles/costmap_2d.dir/all' failed
make[1]: *** [CMakeFiles/costmap_2d.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


This should probably be reported upstream. It looks like it was caused by vtk 6.3 removing the RenderingFreeTypeOpenGL module in favor of vtkTextRender and vtkTextMapper (see http://www.kitware.com/blog/home/post/963).