Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2015-12-05 13:07:24 -0600

joq gravatar image

That tutorial appears to be somewhat mangled. No telling how it got that way. Maybe at one time it was also demonstrating how to define your own messages and not all of those parts were removed correctly.

As best I can tell, you should comment out all the message generation stuff in lines 5, 8, 9, and 12 of CMakeLists.txt and return line 15 to its original contents: catkin_package(). The catkin_package stuff you added is wrong.

That tutorial appears to be somewhat mangled. No telling how it got that way. Maybe at one time it was also demonstrating how to define your own messages and not all of those parts were removed correctly.

As best I can tell, you should comment out all the message generation stuff in lines 5, 8, 9, and 12 of CMakeLists.txt and return line 15 to its original contents: catkin_package(). The catkin_package stuff you added is wrong.wrong; that's what was generating that bogus error message.