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

costmap_2d requires macros.h header to build

asked 2011-07-16 18:51:59 -0500

PKG gravatar image

updated 2011-07-17 07:20:50 -0500

On a fresh checkout of diamondback-full on Lucid, I was unable to get costmap_2d to build. It kept complaining of not finding ROS_DEPRECATED and ROS_INLINE_FORCE. I was able to overcome this problem by including macros.h in every src/*.cpp file.

Is there a better way of getting a build? What am I doing wrong?

Update after Eric's comment: I followed the instructions here:http://www.ros.org/wiki/diamondback/Installation/Ubuntu. Generally I go to my desired packages and do a rosmake && make. My std_msgs failed to build , citing "Header.h" was absent. I resolved the issue by manually copying msg_gen/include../Header.h to std_msgs/include. rosconsole had an unmet dependency of rostime, which I added in the manifest.xml and rebuilt.

edit retag flag offensive close merge delete

Comments

Could you include the command you used to checkout diamondback-full and what commands you are using to build everything? Were there any errors building other parts of diamondback-full?
Eric Perko gravatar image Eric Perko  ( 2011-07-17 06:44:09 -0500 )edit
What cpp files did you have to add the include to?
tfoote gravatar image tfoote  ( 2011-07-23 06:30:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-09-02 11:40:28 -0500

kwc gravatar image

closing as self-answered

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-16 18:51:59 -0500

Seen: 202 times

Last updated: Sep 02 '11