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

Revision history [back]

click to hide/show revision 1
initial version

The first reason would be that there probably is a ROS_NOBUILD file, so the package will not be built.

If it were not there you would probably get permission denied problems.

You should never edit any code that is installed in /opt. If you need to edit init.cpp, checkout the source code locally and overlay the path in ROS_PACKAGE_PATH.

Other than that, I would second Mac's question: Why are you editing init.cpp?

The first reason would be that there probably is a ROS_NOBUILD file, so the package will not be built.

If it were not there you would probably get permission denied problems.

You should never edit any code that is installed in /opt. If you need to edit init.cpp, checkout the source code locally and overlay the path in ROS_PACKAGE_PATH.ROS_PACKAGE_PATH, i.e. Install ROS from source.

Other than that, I would second Mac's question: Why are you editing init.cpp?