ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First try to unlink
/ rm
the src/CMakeLists.txt
in your workspace.
Then try building your workspace again (just run catkin_make
in /home/user/projects/catkin_ws
). That should work, provided you did not actually edit the file in /opt/ros/indigo/..
(that would have required sudo
, so you should know / remember that).
If you did change toplevel.cmake
itself, then you can just re-install the ros-$DISTRO-catkin
package using apt-get
:
sudo apt-get install --reinstall ros-indigo-catkin
That should replace the edited file with the original version. Building your workspace should now work again.
2 | No.2 Revision |
First try to unlink
/ rm
the src/CMakeLists.txt
in your workspace.
Then try building your workspace again (just run catkin_make
in /home/user/projects/catkin_ws
). That should work, provided you did not actually edit the file in /opt/ros/indigo/..
(that would have required sudo
, so you should know / remember that).
If you did change toplevel.cmake
itself, then you can just re-install the ros-$DISTRO-catkin
package using apt-get
:
sudo apt-get install --reinstall ros-indigo-catkin
for Indigo.
That should replace the edited file with the original version. Building your workspace should now work again.