Robotics StackExchange | Archived questions

CMake Error at CMakeLists.txt:60 (message):

CMake Error at CMakeLists.txt:60 (message): findpackage(catkin) failed. catkin was neither found in the workspace nor in the CMAKEPREFIX_PATH. One reason may be that no ROS setup.sh was sourced before.

How to solve this error?

Asked by malgudi on 2018-04-07 04:11:19 UTC

Comments

Have you sourced the setup.sh as mentioned in the error message?

You can check it with "printenv | grep ROS" if you don't have any ROS variables (no output) you need to "source /opt/ros//setup.bash".

Check out http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment

Asked by ce_guy on 2018-04-07 06:52:49 UTC

Answers