Catkin not building packages in order
I have just had a really odd problem with catkin_make. I have been successfully building a workspace containing three packages, two with messages and another one with an executable.
So far, removing the build and devel folders and relaunching the command worked fine, but now for some reason the process crashes in the linking phase of the executable while the headers of the other packages are still being generated. This means that I have to relaunch the command several times, getting different errors that come and go as new code is generated each time until finally the executable gets linked successfully.
Any ideas what the problem might be?