cannot install vision_opencv from binaries with libopencv-contrib-dev installed.
JHeuverRiwo opened this issue · 0 comments
JHeuverRiwo commented
I need to have the aruco functionality provided in libopencv-contrib-dev. However the binary for image_geometry depends on libopencv-dev. These two packages conflict on my system and installing the one will uninstall the other.
Compiling image_geometry from source will result in the following error when I have libopencv-contrib-dev installed:
Starting >>> image_geometry
--- stderr: image_geometry
CMake Error at CMakeLists.txt:18 (find_package):
Could not find a package configuration file provided by "OpenCV" (requested
version 4) with any of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
System:
jetson orin nx 16gb (zedbox)
ubuntu: 20.04 focal
jetpack: 5.1.1
ros2: humble (binaries taken from nvidia isaac ros buildfarm)