jordy-van-appeven/tello_driver

CMake Error Message with codec image transport

Frosalva1993 opened this issue · 2 comments

When I run catkin_make for 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

Just try this command before using catkin_make
rosdep update
rosdep install --from-paths src -i

roadjump@roadjump-virtual-machine:~/catkin_ws$ catkin_make
Base path: /home/roadjump/catkin_ws
Source space: /home/roadjump/catkin_ws/src
Build space: /home/roadjump/catkin_ws/build
Devel space: /home/roadjump/catkin_ws/devel
Install space: /home/roadjump/catkin_ws/install

Running command: "cmake /home/roadjump/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/roadjump/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/roadjump/catkin_ws/install -G Unix Makefiles" in "/home/roadjump/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/roadjump/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/roadjump/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - tello_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'tello_driver'
-- ==> add_subdirectory(tello_driver)
-- 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/roadjump/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/roadjump/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed