EmguCV - nvcuda.dll could not be found

Ryan French picture Ryan French · Sep 26, 2012 · Viewed 24.7k times · Source

I've been asked to build a real-time face recognition application, and after some looking around I've decided to try EmguCV and OpenCV as the facial recognition library.

The issue I'm having at the moment is trying to get the SDK installed and working. I've followed the instructions found here to try and get it running, but I still can't run the samples. Whenever I try and run them, I get the error

The program can't start because nvcuda.dll is missing from your computer. 
Try reinstalling the program to fix this problem.

I've tried most of the usual fixes, such as adding the bin folder to my environment path and copying the dll's into my system32 folder, but none of it seems to work.

  • EmguCV version 2.4.2.1777-windows-x64-gpu
  • Windows 8
  • AMD Radeon HD 6700 series graphics card.

I'm assuming this is an issue with the fact that I dont have an nVidia graphics card, but I'm not sure what I can do about it. For now, I'm going to try recompiling the source rather than using the downloaded .exe, and seeing if that helps.

Any suggestions?

Answer

user1197146 picture user1197146 · Oct 5, 2012

Had the same problem, EmguCV 2.4.2 (no matter if x86 or x64) is compiled with GPU and you have to had nvidia GPU with CUDA support. So, if you want for eg. Fisherfaces from 2.4 in C# - wait for non-GPU release or buy/borrow CUDA card ;)