Getting error "The called functionality is disabled for current build or platform in function throw_no_cuda Aborted (core dumped)"
I was running the sample code video_reader.cpp from "samples/gpu". Mine is Ubuntu 16.04 with Opencv3.1.0 and with CUDA8.0 enabled. While running the code I got the below error .
OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file /home/opencv/modules/core/include/opencv2/core/private.cuda.hpp, line 101 terminate called after throwing an instance of 'cv::Exception' what(): /home/opencv/modules/core/include/opencv2/core/private.cuda.hpp:101: error: (-213) The called functionality is disabled for current build or platform in function throw_no_cuda.
is this link explaining the same issue. I doubt because the link refer to an old version of Opencv.
please help.
Below is what I get when i run with 'ltrace'
"_ZN2cv9cudacodec17createVideoReaderERKNS_6StringE(0x7ffe6117e060, 0x7ffe6117e0f0, 0x7ffe6117e0f0, 102OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file /home/amma/opencv/modules/core/include/opencv2/core/private.cuda.hpp, line 101 '
Found that this is because Opencv was compiled without WITH_NVCUVID=ON, So again ran cmake with WITH_NVCUVID=ON but got error while running make
Got solution refer this link