First compile with messages, messages not found
Hello,
I am using a catkin workspace with a package that only contains messages. If I build the workspace for the first time (ie. delete the devel / build folders) it seems like it wants to compile code that depends on these messages, before it has build these messages. This results in an error saying it can't find the message include file.
If I then try to compile it again it works fine, because then the messages are probably generated. In packages that depend on the messages I add this in the CMakeLists.txt:
generate_messages(
DEPENDENCIES
eva_msgs # Or other packages containing msgs
)
But that doesn't seem to have any effect. It is not a big deal since I can just compile it twice the first time, but I would like to fix it still.
Regards, Hans