ROS Troubleshooting - olinrobotics/avatar GitHub Wiki

bash: /opt/ros/indigo/setup.bash: No such file or directory

  • wrong file path

catkin_make: command not found (unresolved)

  • Try: sourcing setup file (ref)

source /opt/ros/indigo/setup.bash

  • Workaround: # In a CMake project

$ mkdir build

$ cd build

$ cmake ..

$ make

$ make install # (optionally)

(found that CMake was not installed sudo apt-get cmake)

  • Try: correct file path

source /devel/setup.bash

catkin_make: Could not find a package configuration file provided by "std_msgs" with any

of the following names:

std_msgsConfig.cmake
std_msgs-config.cmake
  • (ref)[http://answers.ros.org/question/183212/error-during-catkin_make/]
  • (ref)[http://answers.ros.org/question/156696/catkin_make-error-while-building-rospackage-beginner-tutorial/]
  • Try: fix typo in package.xml
  • Fix: reinstalling/installing std_msgs: sudo apt-get install ros-<distro>-std-msgs
  • to find names for other ros packages, use sudo apt-cache search ros-<distro>

CMake Error: CMAKE_MODULE_PATH does not contain Findcatkin.cmake

  • Try: Reinstalling ros $ sudo apt-get ros-indigo-catkin

The manifest (with format version 2) must not contain the following tags: run_depend

(when running catkin_make)

  • This is an error in the package.xml
  • Try: not specifying package format so tag is just <package></package>

Package version "0.1" does not follow version conventions

(When running catkin_make)

  • An error in package.xml
  • The version number convention is as follows: MAJOR.MINOR.PATCH

Reference

⚠️ **GitHub.com Fallback** ⚠️