When I manually add some of the missing libraries to this line in /home/deck/mambaforge/envs/ros_env/share/cv_bridge/cmake/cv_bridgeConfig.cmake, the build succeeds (example library is jsk_rviz_plugins).
I've checked the conda-forge libopencv package and most of the components are installed. So there has to be some problem with their reporting when cv_bridge is built.
Solution to issue cannot be found in the documentation.
Issue
If a package uses cv_bridge to pull in all of OpenCV, it gets only opencv_core and symbols from all other components are not available.
See the generated CMake find module:
Whereas on my host system, I have:
When I manually add some of the missing libraries to this line in /home/deck/mambaforge/envs/ros_env/share/cv_bridge/cmake/cv_bridgeConfig.cmake, the build succeeds (example library is jsk_rviz_plugins).
I've checked the conda-forge libopencv package and most of the components are installed. So there has to be some problem with their reporting when cv_bridge is built.
Can it be caused by this patch line?
https://github.com/RoboStack/ros-noetic/blob/72a8f7e2a2d294ae5f9dd61d8824401db2b27e87/patch/ros-noetic-cv-bridge.patch#L37
Installed packages
Environment info