Hello,
currently I have opencv 2.4.9 compiled with WITH_CUDA=ON and Visual Sutdio 2013.
I have a little program :
int ngpus = cv::gpu::getCudaEnabledDeviceCount();
if (ngpus > 0) {
...
}
printf("error\n");
return -1;
So this work good when I compile in VS, but if i take the myprog.exe and move it in another folder i get this error :
the library is compiled without CUDA support
I was wondering how I can build the library into the app so it will be able to run anywhere instead of just in the bin/release folder.