Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error Message with codec image transport #10

Open
Frosalva1993 opened this issue Aug 23, 2021 · 2 comments
Open

CMake Error Message with codec image transport #10

Frosalva1993 opened this issue Aug 23, 2021 · 2 comments

Comments

@Frosalva1993
Copy link

Frosalva1993 commented Aug 23, 2021

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

@Frosalva1993 Frosalva1993 changed the title CMake Error Message CMake Error Message with codec image transport Aug 23, 2021
@habibmuhammadthariq
Copy link

habibmuhammadthariq commented Mar 9, 2022

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

@lostnamer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants