Sorry I have no idea about cross compiling with CUDA so I can’t advise. That said the CMake error is quite clear
OpenCV is not able to find/configure CUDA SDK (required by WITH_CUDA).
CUDA support will be disabled in OpenCV build.
To eliminate this warning remove WITH_CUDA=ON CMake configuration option.
Call Stack (most recent call first):
CMakeLists.txt:747 (include)
If
/usr/local/cuda/targets/aarch64-linux
is equivelent to passing
/usr/local/cuda/
when compiling for the local machine I’m out of ideas.