Unknown error when using opencv with cuda

why such an outdated version ?
you also needed to build with the opencv_contrib modules and if you just git clone that, you get 4.5.5-dev there, so possibly a version conflict

do anyone a favour and try again with latest for both repos