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

cmake could not find octomap_ros when run catkin_make

asked 2016-11-16 08:37:50 -0600

Ziwen Qin gravatar image

I use ros indigo with ubuntu 14.04. When I run catkin_make in catkin_ws, some errors shows as follows:

CMake Warning at rtabmap_ros/CMakeLists.txt:16 (find_package):
By not providing "Findoctomap_ros.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"octomap_ros", but CMake did not find one.

Could not find a package configuration file provided by "octomap_ros" with
any of the following names:

octomap_rosConfig.cmake
octomap_ros-config.cmake

Add the installation prefix of "octomap_ros" to CMAKE_PREFIX_PATH or set
"octomap_ros_DIR" to a directory containing one of the above files.  If
"octomap_ros" provides a separate development package or SDK, be sure it
has been installed.

but I have run this command:

sudo apt-get install ros-indigo-octomap

Thanks!

edit retag flag offensive close merge delete

Comments

1

It's been awhile, but can you provide the list of packages that were being built in you workspace? Without that info it's hard for others to tell which package(s) caused the error you posted. You can run e.g. catkin_topological_order --only-names to list all package names in ROS_PACKAGE_PATH.

130s gravatar image 130s  ( 2019-01-27 06:22:26 -0600 )edit

I fear a situation where this error was caused by a package that misses a dependency definition. We should fix it particularly when it's an opensource package. So it's imperative to list all (or at least open-sourced) packages if you can.

130s gravatar image 130s  ( 2019-01-27 06:25:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
6

answered 2016-11-16 09:05:29 -0600

Ziwen Qin gravatar image

updated 2016-11-16 09:06:12 -0600

some package was not install

sudo apt-get install ros-indigo-octomap ros-indigo-octomap-mapping ros-indigo-octomap-msgs ros-indigo-octomap-ros ros-indigo-octomap-rviz-plugins ros-indigo-octomap-server

every thing is fine running!

edit flag offensive delete link more

Comments

thanks~ It works!!

opan08 gravatar image opan08  ( 2016-12-10 01:09:21 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-11-16 08:37:50 -0600

Seen: 8,535 times

Last updated: Nov 16 '16