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

Custom Messages Won't Build

asked 2013-08-26 12:44:03 -0600

Constantin S gravatar image

updated 2013-11-14 11:04:02 -0600

tfoote gravatar image

I am using rosmake and fuerte.

rosbuild_genmsg is uncommented in the CMakeLists.txt.

Running rosmake in the package doesn't create a msg_gen folder or the messages. I can't figure out what I'm doing wrong....

No Make file in package my_msgs


In a later project which uses the messages:

fatal error: my_msgs/MyMsg.h

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-08-26 13:12:40 -0600

Constantin S gravatar image

I forgot that you needed the custom Makefile in ROS:

http://www.ros.org/wiki/rospy_tutorials/Tutorials/Makefile for more information (why is there's no cpp version, i dunno)

More specifically, your Makefile needs to be:

include $(shell rospack find mk)/cmake.mk
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-08-26 12:44:03 -0600

Seen: 226 times

Last updated: Aug 26 '13