ros-misc-utilities / ffmpeg_image_transport

ROS2 image transport plugin for encoding/decoding with h264 codec
Apache License 2.0
65 stars 22 forks source link

Could not find a package configuration file provided by "ament_cmake" #21

Closed Alamnoor closed 8 months ago

Alamnoor commented 9 months ago

Hi there, When I run the command line: colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo it gives me the following error:

Error Start

tarting >>> ffmpeg_image_transport_msgs --- stderr: ffmpeg_image_transport_msgs
CMake Error at CMakeLists.txt:19 (find_package): By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ament_cmake", but CMake did not find one. Could not find a package configuration file provided by "ament_cmake" with any of the following names: ament_cmakeConfig.cmake ament_cmake-config.cmake Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set "ament_cmake_DIR" to a directory containing one of the above files. If "ament_cmake" provides a separate development package or SDK, be sure it has been installed.

Failed <<< ffmpeg_image_transport_msgs [0.10s, exited with code 1] Summary: 0 packages finished [1.40s] 1 package failed: ffmpeg_image_transport_msgs 1 package had stderr output: ffmpeg_image_transport_msgs 1 package not processed

Error End

Do know what is the problem and how I can solve it? Thanks

berndpfrommer commented 9 months ago

Looks like the ament_cmake package is missing. Did you run the rosdep line as per instructions?

rosdep install --from-paths src --ignore-src -r
berndpfrommer commented 8 months ago

Closing because of lack of activity