Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Could not find configuration file provided by "opencv_calib3d" when building ros1_bridge

Operating System: Ubuntu 20.04 DDS Implementation CycloneDDS.

Hi there. I have tried building ros1_bridge based on the instructions but I am facing an issue (see issue below) after executing colcon build --packages-select ros1_bridge --cmake-force-configure

Starting >>> ros1_bridge
--- stderr: ros1_bridge                         
CMake Error at /opt/ros/foxy/share/theora_image_transport/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package):
  By not providing "Findopencv_calib3d.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "opencv_calib3d", but CMake did not find one.

  Could not find a package configuration file provided by "opencv_calib3d"

 with any of the following names:


  Add the installation prefix of "opencv_calib3d" to CMAKE_PREFIX_PATH or set
  "opencv_calib3d_DIR" to a directory containing one of the above files.  If
  "opencv_calib3d" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /opt/ros/foxy/share/theora_image_transport/cmake/theora_image_transportConfig.cmake:41 (include)
  CMakeLists.txt:97 (find_package)

Failed   <<< ros1_bridge [2.92s, exited with code 1]

Summary: 0 packages finished [3.05s]
  1 package failed: ros1_bridge
  1 package had stderr output: ros1_bridge

Does anyone know how to resolve this issue? Thanks in advance.