OpenCV 2.4.6 with Cuda support, VS 2012

asked 2013-08-30 01:46:12 -0600

DrLuis gravatar image

updated 2013-08-30 04:17:08 -0600

My mother language is not English, so sorry for annoying English :)

Hi I'm trying to build opencv 2.4.6 in vs2012 with cuda support. Build successed but sample project keep showing error. "No Gpu Support (the library is compiled without GPU support)"

OS : Win8 pro x64 GPU : NVIDIA 780 CUDA ver : 5.5

CMake With Cuda = ON and other things. cuda_attach_vs_build_rule_to_cuda_file = off

What's wrong?

edit retag flag offensive close merge delete


When configuring your cmake, did you explicitly have to assign the CUDA installation? This error should only pop up if the GPU hasn't been build or if you have specified the wrong architecture during building.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-30 01:53:25 -0600 )edit

Do you have any other OpenCV libraries on your machine? Maybe it loads wrong libraries from another directory. Also check cvconfig.h file in build directory, it should have HAVE_CUDA macros defined.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2013-08-30 04:10:52 -0600 )edit