ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Try

$ rm -rf CMakeCache.txt CMakeFiles cmake_install.cmake msg_gen srv_gen src/myPackage
$ cmake .
$ rosmake

That has worked for me a bunch of times when doing exactly what you are trying to do. Basically, try to remove all auto-generated files and then build again.