This, however, is failing with glibc-related liker errors like the following.
opencv> /nix/store/6f700gwk2wvy8rp9licldryx0hbvhapn-binutils-2.40/bin/ld: /nix/store/sn546k2nnp9fd4fcfhdp1ni0ql8yclkn-openexr-2.5.8/lib/libIlmImf-2_5.so.26: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
opencv> collect2: error: ld returned 1 exit status
opencv> make[2]: *** [apps/annotation/CMakeFiles/opencv_annotation.dir/build.make:103: bin/opencv_annotation] Error 1
opencv> make[1]: *** [CMakeFiles/Makefile2:8698: apps/annotation/CMakeFiles/opencv_annotation.dir/all] Error 2
opencv> make[1]: *** Waiting for unfinished jobs....
Disabling OpenEXR or the OpenCV apps module only postpones the error. Whatever the configuration, the same linker error always shows up at some point.
How can OpenCV be built? If this is a configuration issue, I think it would be useful to add a version of OpenCV with the relevant CUDA overrides to this repository's package set.
I am attempting to configure OpenCV with CUDA for an Orin NX like so:
This, however, is failing with glibc-related liker errors like the following.
Disabling OpenEXR or the OpenCV apps module only postpones the error. Whatever the configuration, the same linker error always shows up at some point.
How can OpenCV be built? If this is a configuration issue, I think it would be useful to add a version of OpenCV with the relevant CUDA overrides to this repository's package set.