Ask Your Question
0

i can't generate the dir msg_gen/cpp [closed]

asked 2013-01-20 23:52:23 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

First,I make a msg file test.msg ,the content is bellow:

float32 a
float32 b

Second, I open the CMakeList.txt,Remove

# to uncomment the following line:
# rosbuild_genmsg()

Then, I run the command rosmake,and got a dir msg_gen.

The problem is that I can't generate a cpp directory in the msg_gen(only a dir lisp and a file generated). I can't use my own message type now!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-03-05 07:33:01

Comments

please see the recommended way for asking for support here: http://www.ros.org/wiki/Support. Tell us about your ROS version, and post the output of rosmake.

KruseT gravatar image KruseT  ( 2013-01-21 00:17:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-21 01:44:36 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

You can not set the name of a message to "test". I think it's a reserved word. I am almost pretty sure that if you change its name,your problem would be solved.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-20 23:52:23 -0500

Seen: 243 times

Last updated: Jan 21 '13