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

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

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 setup.sh was sourced before.

How to solve this error?

edit retag flag offensive close merge delete

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/<distro>/setup.bash".

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

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