-
Notifications
You must be signed in to change notification settings - Fork 74
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
Userfriendly error message for missing DEPENDENCIES in generate_messages #1
Comments
agreed, especially for someone new to catkin who is pretty sure he included all the proper depend strings and is very confused as to why it is 'missing'..... /le sigh... |
Three months after the groovy release I find myself adding the documentation to actually build a real package that generates ROS messages that depend on other messages... |
Not to mention the fact that "std_msgs" is mentioned in the following places if you want to use something in std_msgs in a message that you generate: <build_depend>std_msgs</build_depend>
<run_depend>std_msgs</run_depend> find_package(catkin REQUIRED COMPONENTS std_msgs)
#...
generate_messages(DEPENDENCIES std_msgs)
#...
catkin_package(CATKIN_DEPENDS std_msgs) Yes I understand this is a catkin issue as much as it's a genmsg issue. @tkruse |
I am surprised that |
Thanks! |
Changes since 0.3.10: 0.4.20 (2013-06-18) ------------------- * generate pkg config extra files containing variables which list all message and service files (`#28 <https://github.com/ros/genmsg/issues/28>`_) 0.4.19 (2013-06-06) ------------------- * improve error message for missing message dependencies (`#1 <https://github.com/ros/genmsg/issues/1>`_) * fix generating duplicate include dirs for multiple add_message_files() invocations which broke generated lisp messages (`#27 <https://github.com/ros/genmsg/issues/27>`_) 0.4.18 (2013-03-08) ------------------- * fix handling spaces in folder names (`ros/catkin#375 <https://github.com/ros/catkin/issues/375>`_) * add targets with _generate_messages_LANG suffix (`#20 <https://github.com/ros/genmsg/issues/20>`_) * pass all message generation target to EXPORTED_TARGETS (`#26 <https://github.com/ros/genmsg/issues/26>`_) * improve error messages (`#22 <https://github.com/ros/genmsg/issues/22>`_) 0.4.17 (2013-01-19) ------------------- * fix bug using ARGV in list(FIND) directly (`#18 <https://github.com/ros/genmsg/issues/18>`_) 0.4.16 (2013-01-13) ------------------- * hide transitive message dependencies and pull them in automatically (`#15 <https://github.com/ros/genmsg/issues/15>`_) 0.4.15 (2012-12-21) ------------------- * first public release for Groovy
If the correct dependencies are not specified in generate_messages macro the genmsg will spit out a confusing python error. This should give a usefull error like:
"actionlib_msgs not found when generating for actionlib. Did you forget to specify actionlib_msgs in generate_messages() DEPENDENCIES" or something similar....
The current error message is:
The text was updated successfully, but these errors were encountered: