GpuMat produces error
I wrote this :
image1 = imread(QString(files[i]).toStdString(), 0);
GpuMat img1GPU(image1);
and the following error
OpenCV Error: No GPU support (The library is compiled without CUDA support) in mallocPitch, file /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp, line 126 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.8+dfsg1/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp:126: error: (-216) The library is compiled without CUDA support in function mallocPitch
I am sure that it's the second code line that makes a problem. Thanks for help
please spare us duplicate questions about the same topic
also, the output clearly says what is wrong, you are using OpenCV built without GPU support and try to push data in a GPU matrix ...