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

Revision history [back]

Please use the code tag to make your code more readable in your posts.

[rosmake-0] Finished <<< beginner_tutorials ROS_NOBUILD in package beginner_tutorials No Makefile in package beginner_tutorials [ rosmake ] Results:

In this line almost at the end you can see two different things:

  • ROS_NOBUILD
  • No Makefile

ROS_NOBUILD was used to prevent the build system from rebuilding packages each time. The build system in ROS automatically traverses the hierarchy of modules starting from your package. So it most often would attempt to build any other package yours depends on. To avoid unnecessary recompilations, ROS_NOBUILD was used. If you have that file in your package folder, just remove it (it should be a zero size file).

Then the No Makefile. If you have a CMakeLists.txt but you don't have a Makefile nothing will build. I'm not informed of the new catkin system since I'm still on an older realease, but once it was sufficient that your Makefile had the following line in it:

include $(shell rospack find mk)/cmake.mk

Try creating a Makefile with that line in it and it should now compile.

Please use the code tag to make your code more readable in your posts.

[rosmake-0] Finished <<< beginner_tutorials ROS_NOBUILD in package beginner_tutorials No Makefile in package beginner_tutorials [ rosmake ] Results:

In this line almost at the end you can see two different things:

  • ROS_NOBUILD
  • No Makefile

ROS_NOBUILD was is used to prevent the build system from rebuilding packages each time. The build system in ROS automatically traverses the hierarchy of modules starting from your package. So it most often would attempt to build any other package yours depends on. To avoid unnecessary recompilations, ROS_NOBUILD was is used. If you have that file in your package folder, just remove it (it should be a zero size file).it.

Then the No Makefile. If you have a CMakeLists.txt but you don't have a Makefile nothing will build. I'm not informed of the new catkin system since I'm still on an older realease, but once it was sufficient that your Makefile had the following line in it:

include $(shell rospack find mk)/cmake.mk

Try creating a Makefile with that line in it and it should now compile.