Ask Your Question
0

OctomapBinary.h: No such file or directory

asked 2013-03-24 02:28:47 -0600

FfoNy gravatar image

updated 2013-03-24 03:24:07 -0600

[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['octomap_server']
[ rosmake ] Logging to directory /home/turtlebot/.ros/rosmake/rosmake_output-20130324-200938 [ rosmake ] Expanded args ['octomap_server'] to: ['octomap_server']
[rosmake-0] Starting >>> catkin [ make ]
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkinive 0/58 Complete ] No Makefile in package catkin [rosmake-0] Starting >>> genmsg [ make ]
[rosmake-3] Starting >>> cpp_common [ make ]
[rosmake-1] Starting >>> rospack [ make ]
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg No Makefile in package genmsg [rosmake-2] Starting >>> rosgraph [ make ]
[rosmake-0] Starting >>> genlisp [ make ]
[rosmake-2] Finished <<< rosgraph ROS_NOBUILD in package rosgraph No Makefile in package rosgraph [rosmake-2] Starting >>> genpy [ make ]
[rosmake-3] Finished <<< cpp_common ROS_NOBUILD in package cpp_common No Makefile in package cpp_common [rosmake-3] Starting >>> gencpp [ make ]
[rosmake-2] Finished <<< genpy ROS_NOBUILD in package genpy No Makefile in package genpy [rosmake-1] Finished <<< rospack ROS_NOBUILD in package rospack No Makefile in package rospack [rosmake-2] Starting >>> rostime [ make ]
[rosmake-1] Starting >>> roslib [ make ]
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp No Makefile in package genlisp [rosmake-3] Finished <<< gencpp ROS_NOBUILD in package gencpp No Makefile in package gencpp [rosmake-1] Finished <<< roslib ROS_NOBUILD in package roslib No Makefile in package roslib [rosmake-0] Starting >>> roslang [ make ]
[rosmake-1] Starting >>> rosunit [ make ]
[rosmake-3] Starting >>> message_generation [ make ]
[rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime No Makefile in package rostime [rosmake-2] Starting >>> roscpp_traits [ make ]
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang [rosmake-3] Finished <<< message_generation ROS_NOBUILD in package message_generation No Makefile in package message_generation [rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits No Makefile in package roscpp_traits [rosmake-0] Starting >>> xmlrpcpp [ make ]
[rosmake-3] Starting >>> rosparam [ make ]
[rosmake-1] Finished <<< rosunit ROS_NOBUILD in package rosunit No Makefile in package rosunit [rosmake-2] Starting >>> roscpp_serialization [ make ]
[rosmake-0] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp3/58 Complete ] No Makefile in package xmlrpcpp [rosmake-0] Starting >>> rosmaster [ make ]
[rosmake-3] Finished <<< rosparam ROS_NOBUILD in package rosparam No Makefile in package rosparam [rosmake-1] Starting >>> rosconsole [ make ]
[rosmake-3] Starting >>> rosclean [ make ]
[rosmake-2] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization No Makefile in package roscpp_serialization [rosmake-1] Finished <<< rosconsole ROS_NOBUILD in package rosconsole No Makefile in package rosconsole [rosmake-2] Starting >>> message_runtime [ make ]
[rosmake-1] Starting >>> flann [ make ]
[rosmake-3] Finished <<< rosclean ROS_NOBUILD in package rosclean No Makefile in package rosclean [rosmake-3] Starting >>> angles [ make ]
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster No Makefile in package rosmaster [rosmake-1] Finished <<< flann ROS_NOBUILD in package flann No Makefile in package flann [rosmake-1] Starting >>> console_bridge [ make ]
[rosmake-0] Starting >>> smclib [ make ]
[rosmake-3] Finished <<< angles ROS_NOBUILD in package angles No Makefile in package angles [rosmake-2] Finished <<< message_runtime ROS_NOBUILD in package message_runtime No Makefile in package message_runtime [rosmake-2] Starting >>> std_msgs [ make ]
[rosmake-3] Starting >>> std_srvs [ make ]
[rosmake-1] Finished <<< console_bridge ROS_NOBUILD in package console_bridge No Makefile in package console_bridge [rosmake-1] Starting >>> class_loader [ make ]
[rosmake-0] Finished <<< smclib ROS_NOBUILD in package smclib No Makefile in package smclib [rosmake-2] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs [rosmake-2] Starting >>> geometry_msgs [ make ]
[rosmake-0] Starting >>> rosgraph_msgs [ make ]
[rosmake-1] Finished <<< class_loader ROS_NOBUILD in package class_loader No Makefile in package class_loader [rosmake-1] Starting >>> pluginlib [ make ]
[rosmake-2] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs No Makefile in package geometry_msgs [rosmake-3] Finished <<< std_srvs ROS_NOBUILD in package std_srvs No Makefile in package std_srvs ...

































(more)

edit retag flag offensive close merge delete

Comments

This website http://www.ros.org/wiki/octomap_mapping

and I downloaded

svn checkout http://alufr-ros-pkg.googlecode.com/svn/trunk/ alufr-ros-pkg-read-only

FfoNy gravatar imageFfoNy ( 2013-03-24 03:37:42 -0600 )edit

octomap_msgs/OctomapBinary.h: No such file or directory <-- does this file actually exist in that directory? Is the casing correct? (it's not octomapbinary.h, is it?).

autonomy gravatar imageautonomy ( 2013-03-25 05:17:48 -0600 )edit

Which ROS version are you using?

AHornung gravatar imageAHornung ( 2013-03-25 05:28:56 -0600 )edit

ROS version is 1.9.42

FfoNy gravatar imageFfoNy ( 2013-03-25 15:59:39 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-03-25 05:27:41 -0600

AHornung gravatar image

Is there a reason you install octomap_mapping from source, and not the binary packages?

You can install them pre-compiled with all dependencies by running sudo apt-get install ros-fuerte-octomap-mapping (fuerte) or sudo apt-get install ros-groovy-octomap-mapping (groovy).

It seems to me that you are either missing a dependency (octomap_msgs) in your ROS_PACKAGE_PATH, or mixing different ROS versions. OctomapBinary.h only exists for fuerte.

If you need a source compile, then you also need to manually download and compile the dependencies, most notably the packages octomap_ros and octomap_msgs. Fuerte versions are at http://alufr-ros-pkg.googlecode.com/svn/trunk/octomap_stacks/ and Groovy versions here: https://github.com/OctoMap/octomap_msgs https://github.com/OctoMap/octomap_ros

edit flag offensive delete link more

Comments

Problem is solved Thanks All

FfoNy gravatar imageFfoNy ( 2013-03-25 16:27:38 -0600 )edit
0

answered 2013-03-25 05:27:53 -0600

It looks like the build is failing because it can't find octomap_msgs/OctomapBinary.h. Normally, this would be caused by a missing dependency, so I checked the manifest.xml for this package, and noticed that the octomap_msgs dependency was explicitly disabled.

In reviewing the change history for this file, I found when this was disabled (in r2810 and r2811). The commit message for this change indicates that octomap_msgs should now be installed directly using .deb packages. So, try apt-get install ros-groovy-octomap-msgs first, then re-build your package.

Alternatively, the README file in that package indicates that the most-current package version has moved to a new repository. That version seems to have re-instated the explicit dependency on octomap_msgs. You could try that version, which might work for you out-of-the-box.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-24 02:28:47 -0600

Seen: 752 times

Last updated: Mar 25 '13