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

asked 2018-04-07 04:11:19 -0500

malgudi gravatar image

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

How to solve this error?

edit retag flag offensive close merge delete


Have you sourced the 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/<distro>/setup.bash".

Check out

ce_guy gravatar image ce_guy  ( 2018-04-07 06:52:49 -0500 )edit