yoshito-n-students / codec_image_transport-release

0 stars 0 forks source link

CMake Error Message #1

Open Frosalva1993 opened 3 years ago

Frosalva1993 commented 3 years ago

When I run catkin_make for this tello driver I get the following error message regarding codec_image_transport:

-- Could NOT find codec_image_transport (missing: codec_image_transport_DIR)
-- Could not find the required component 'codec_image_transport'. 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/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "codec_image_transport" with any of the following names:

    codec_image_transportConfig.cmake
    codec_image_transport-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:3526: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
yoshito-okada commented 3 years ago

As the error message says you are missing the codec_image_transport pkg. Just install and try again. sudo apt install ros-melodic-codec-image-transport

Or rosdep can do the same (or better) thing for you. http://wiki.ros.org/rosdep