VideoReader_GPU not available, but built with NVCUVID?
I've built OpenCV 2.4.8 with CUDA 5.5 using Visual studio 2012. Building code to use it seems to work too. gpu::getCudaEnabledDeviceCount() reports 1.
However, when I try to initialize a VideoReader_GPU, I get this runtime error:
OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom) in throw_nogpu, file P:/opencv-2.4.8/sources/modules/gpu/src/precomp.hpp, line 131
CMake reported availability and successful build of NVCUVID. How can I verify that? What's going on?
EDIT: I've just perused the sources I downloaded... #if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_NVCUVID)
should be responsible. I will try to figure out which define is causing this...
EDIT: I've changed that line to remove CUDA_DISABLER. that seems to have worked... since both HAVE_NVCUVID and HAVE_CUDA are reported to be true/defined by CMake.
What is CUDA_DISABLER?
Hi! I am having the same problem. Where did you edit and removed the CUDA_DISABLER line? I found it in video_reader and video_writer. I onnly disabled it in video_reader. Did you find out why is that condition for?
Thanks for your help!
D!