Qengineering/Install-OpenCV-Jetson-Nano

./OpenCV-4-8-0.sh build issue Jetpack6

Muthukumar4796 opened this issue · 3 comments

Device:Orin Nx 16GB
Jetpack 6
Cuda 12.2
Cudnn 8.9
python 3.10

./OpenCV-4-8-0.sh - when i ran this command . Im facing issue. I have attached issue screenshot for reference.
Screenshot from 2024-08-27 21-53-21

It is a well known issue opencv/opencv#23893.
And it is fixed in opencv/opencv#24104.
Please use a later OpenCV version, like 4.10.0

Thanks for your response. I'm using Isaac ROS, and ROS Humble comes with OpenCV version 4.8.0. If I want to install OpenCV version 4.10.0 means I need to uninstall the existing OpenCV version first.when I uninstall OpenCV, the ROS packages also get uninstalled.
I managed to install OpenCV 4.10.0 successfully, but I still need Isaac ROS as well. When I tried to fix the broken packages by running the sudo apt install ros-humble-desktop command, the OpenCV 4.10.0 installation was reverted back to version 4.8.0.

In that case I would modify the OpenCV 4.8.0 code according to opencv/opencv#24104 before compiling.
It's just a few lines.