I see, I did not scroll back far enough. This is still on the release on opencv.org (I’ll try the suggestion for cuda 12.6 as well):
[ 71%] Built target opencv_ximgproc
[ 71%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In static member function ‘static void {anonymous}::NppHistogramEvenC1<SDEPTH, func, get_buf_size>::hist(const cv::cuda::GpuMat&, cv::OutputArray, int, int, int, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:338:49: error: could not convert ‘h’ from ‘cv::cuda::NppStreamHandler’ to ‘NppStreamContext’
338 | get_buf_size(sz, levels, &buf_size, h);
| ^
| |
| cv::cuda::NppStreamHandler
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In static member function ‘static void {anonymous}::NppHistogramEvenC4<SDEPTH, func, get_buf_size>::hist(const cv::cuda::GpuMat&, cv::cuda::GpuMat*, int*, int*, int*, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:383:49: error: could not convert ‘h’ from ‘cv::cuda::NppStreamHandler’ to ‘NppStreamContext’
383 | get_buf_size(sz, levels, &buf_size, h);
| ^
| |
| cv::cuda::NppStreamHandler
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In static member function ‘static void {anonymous}::NppHistogramRangeC1<SDEPTH, func, get_buf_size>::hist(const cv::cuda::GpuMat&, cv::OutputArray, const cv::cuda::GpuMat&, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:483:54: error: could not convert ‘h’ from ‘cv::cuda::NppStreamHandler’ to ‘NppStreamContext’
483 | get_buf_size(sz, levels.cols, &buf_size, h);
| ^
| |
| cv::cuda::NppStreamHandler
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In static member function ‘static void {anonymous}::NppHistogramRangeC4<SDEPTH, func, get_buf_size>::hist(const cv::cuda::GpuMat&, cv::cuda::GpuMat*, const cv::cuda::GpuMat*, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:534:50: error: could not convert ‘h’ from ‘cv::cuda::NppStreamHandler’ to ‘NppStreamContext’
534 | get_buf_size(sz, nLevels, &buf_size, h);
| ^
| |
| cv::cuda::NppStreamHandler
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In function ‘void cv::cuda::histEven(cv::InputArray, cv::OutputArray, int, int, int, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:602:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_8u_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
602 | NppHistogramEvenC1<CV_8U , nppiHistogramEven_8u_C1R , nppiHistogramEvenGetBufferSize_8u_C1R >::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:604:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_16u_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
604 | NppHistogramEvenC1<CV_16U, nppiHistogramEven_16u_C1R, nppiHistogramEvenGetBufferSize_16u_C1R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:605:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_16s_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
605 | NppHistogramEvenC1<CV_16S, nppiHistogramEven_16s_C1R, nppiHistogramEvenGetBufferSize_16s_C1R>::hist
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In function ‘void cv::cuda::histEven(cv::InputArray, cv::cuda::GpuMat*, int*, int*, int*, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:633:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_8u_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
633 | NppHistogramEvenC4<CV_8U , nppiHistogramEven_8u_C4R , nppiHistogramEvenGetBufferSize_8u_C4R >::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:635:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_16u_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
635 | NppHistogramEvenC4<CV_16U, nppiHistogramEven_16u_C4R, nppiHistogramEvenGetBufferSize_16u_C4R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:636:101: error: could not convert template argument ‘nppiHistogramEvenGetBufferSize_16s_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
636 | NppHistogramEvenC4<CV_16S, nppiHistogramEven_16s_C4R, nppiHistogramEvenGetBufferSize_16s_C4R>::hist
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In function ‘void cv::cuda::histRange(cv::InputArray, cv::OutputArray, cv::InputArray, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:660:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_8u_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
660 | NppHistogramRangeC1<CV_8U , nppiHistogramRange_8u_C1R , nppiHistogramRangeGetBufferSize_8u_C1R >::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:662:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_16u_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
662 | NppHistogramRangeC1<CV_16U, nppiHistogramRange_16u_C1R, nppiHistogramRangeGetBufferSize_16u_C1R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:663:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_16s_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
663 | NppHistogramRangeC1<CV_16S, nppiHistogramRange_16s_C1R, nppiHistogramRangeGetBufferSize_16s_C1R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:665:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_32f_C1R’ from ‘NppStatus(NppiSize, int, size_t*)’ {aka ‘NppStatus(NppiSize, int, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int, long unsigned int*, NppStreamContext)’}
665 | NppHistogramRangeC1<CV_32F, nppiHistogramRange_32f_C1R, nppiHistogramRangeGetBufferSize_32f_C1R>::hist
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp: In function ‘void cv::cuda::histRange(cv::InputArray, cv::cuda::GpuMat*, const cv::cuda::GpuMat*, cv::cuda::Stream&)’:
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:690:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_8u_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
690 | NppHistogramRangeC4<CV_8U , nppiHistogramRange_8u_C4R , nppiHistogramRangeGetBufferSize_8u_C4R >::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:692:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_16u_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
692 | NppHistogramRangeC4<CV_16U, nppiHistogramRange_16u_C4R, nppiHistogramRangeGetBufferSize_16u_C4R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:693:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_16s_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
693 | NppHistogramRangeC4<CV_16S, nppiHistogramRange_16s_C4R, nppiHistogramRangeGetBufferSize_16s_C4R>::hist,
| ^
/home/me/Downloads/opencv_contrib/modules/cudaimgproc/src/histogram.cpp:695:104: error: could not convert template argument ‘nppiHistogramRangeGetBufferSize_32f_C4R’ from ‘NppStatus(NppiSize, int*, size_t*)’ {aka ‘NppStatus(NppiSize, int*, long unsigned int*)’} to ‘NppStatus (*)(NppiSize, int*, size_t*, NppStreamContext)’ {aka ‘NppStatus (*)(NppiSize, int*, long unsigned int*, NppStreamContext)’}
695 | NppHistogramRangeC4<CV_32F, nppiHistogramRange_32f_C4R, nppiHistogramRangeGetBufferSize_32f_C4R>::hist
| ^
make[2]: *** [modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/build.make:9573: modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/src/histogram.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4999: modules/cudaimgproc/CMakeFiles/opencv_cudaimgproc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....