Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should warn when calling generate_messages() before add_service_files #19

Closed
chadrockey opened this issue Jan 22, 2013 · 1 comment
Closed

Comments

@chadrockey
Copy link
Member

If you call generate_messages() before calling add_service_files(...), then the error you get is the following:

imu_drivers_catkin/src/microstrain_3dmgx2_imu/imu_node.cc:55:46: fatal error: microstrain_3dmgx2_imu/AddOffset.h: No such file or directory
compilation terminated.

There should be a warning if you call generate_messages() and have not added message or service files.

@dirk-thomas
Copy link
Member

Calling generate_messages() with zero messages/services should not be a warning since depending on the users CMake it is feasible to enable/disable certain messages which could lead to zero. genmsg already outputs the number of processed message and service files which should be enough for the user to figure out what is wrong if zero is not the desired number of messages.

Adding a message for the wrong order is a duplicate of #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants