asked 2011-12-15 10:23:01 -0500sam
I use sudo to edit init.cpp.
But whenever I add wrong syntax on that src, I can rosmake successfully on roscpp package and roscomm package.
Why roscpp & roscomm can't detect some sources are changed?
How can I compile /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/src/libros/init.cpp ?
answered 2011-12-15 10:59:08 -0500dornhege
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, i.e. Install ROS from source.
Other than that, I would second Mac's question: Why are you editing init.cpp?
Asked: 2011-12-15 10:23:01 -0500
Seen: 167 times
Last updated: Dec 16 '11