Qengineering / Install-OpenCV-Jetson-Nano

OpenCV installation script with CUDA and cuDNN support
https://qengineering.eu/install-opencv-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
142 stars 46 forks source link

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

Open Muthukumar4796 opened 2 weeks ago

Muthukumar4796 commented 2 weeks ago

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

Qengineering commented 2 weeks ago

It is a well known issue https://github.com/opencv/opencv/issues/23893. And it is fixed in https://github.com/opencv/opencv/pull/24104. Please use a later OpenCV version, like 4.10.0

Muthukumar4796 commented 2 weeks ago

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.

Qengineering commented 2 weeks ago

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