Build opencv with cuda for Jetson AGX Orin but failed

Hello

I have just updated my jetson agx orin (32GB development-kit) to JETPACK 6.0.
As you know , Jetson ubuntu is updated to 22.04 Jammy, and opencv to 4.8.0 by defalut.

I used to build opencv for using cuda when I was using JETPACK 5.x according to the script below and succeded, but it’s not workint this time.

script:

I know that some package is no longer useful on ubuntu 22.04, and I replaced some packages’ name just like:
libdc1394-22-dev → libdc1394-dev
delete: python-dev, python-numpy

even though it doesn’t work.

While I select version of 4.5.x or 4.6.x, it returns error about cmake related, so I thought if it is not supported by ubuntu 22.04.
While I select version of 4.8.0 (which is installed by default), it works and proceed for a while, but unfortunately it returns error and failed.

Is it necessary to do some other preparation to build opencv on jetpack 6.0?

Thanks very much.

Hello,

Thanks for visiting the forums. Your topic will be best served in the Jetson category.

I will move this post over for visibility.

Cheers,
Tom

Hi,

Please find the OpenCV auto-build script in the below topic:

Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.