No GPU Support

asked 2014-08-02 03:16:09 -0500

autodev101 gravatar image


I am trying to use GpuMat from opencv. The code compiles just fine but when i try to execute it it fails at:

Mat currentblock = ...

GpuMat cb(currentblock); - it fails here

The error is No GPU support the library is build without CUDA support. I use opencv 249 downloaded from this site, it sais that supports CUDA. I tryed to build it my self but the result was the same.

I use Visual Studio 2012.

Please help, i am trying to solve this for two days now.


edit retag flag offensive close merge delete



Since 2.4.6 there is no prebuilt opencv with CUDA anymore. Basically you wll have to build OpenCV yourself. Are you sure the CUDA sdk is installed and your CMAKE found it?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-02 03:30:14 -0500 )edit