1. 程式人生 > >ROS編譯出錯

ROS編譯出錯

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "ecl_exceptions"
  with any of the following names:

    ecl_exceptionsConfig.cmake
    ecl_exceptions-config.cmake

  Add the installation prefix of "ecl_exceptions" to CMAKE_PREFIX_PATH or set
  "ecl_exceptions_DIR" to a directory containing one of the above files.  If
  "ecl_exceptions" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  navigation/CSJB_pkg/csjb_keyop/CMakeLists.txt:3 (find_package)


-- Could not find the required component 'ecl_exceptions'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "ecl_exceptions"
with any of the following names: ecl_exceptionsConfig.cmake ecl_exceptions-config.cmake Add the installation prefix of "ecl_exceptions" to CMAKE_PREFIX_PATH or set "ecl__DIR" to a directory containing one of the above files. If "ecl_exceptions" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): navigation/CSJB_pkg/csjb_keyop/CMakeLists.txt:3 (find_package) -- Configuring incomplete, errors occurred! See also "/home/yingbin/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/yingbin/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

遇到這類問題,解決方式如下:

sudo apt-get install ros-indigo-ecl-exceptions