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

Git Clone URL: (read-only, click to copy)
Package Base: ros-indigo-costmap-2d
Description: ROS - This package provides an implementation of a 2D costmap.
Upstream URL:
Licenses: BSD
Submitter: rreignier
Maintainer: jerry73204
Last Packager: jerry73204
Votes: 0
Popularity: 0.000000
First Submitted: 2015-08-28 05:41
Last Updated: 2018-11-04 07:19

Sources (2)

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 (

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/', needed by 'devel/lib/'. 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