Ask Your Question
0

Custom Messages Won't Build

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

Constantin S gravatar image

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

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 -0500

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

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-08-26 12:44:03 -0500

Seen: 134 times

Last updated: Aug 26 '13