Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EmguCV - nvcuda.dll could not be found

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?

like image 382
Ryan French Avatar asked Sep 26 '12 05:09

Ryan French


People also ask

Where is Nvcuda DLL?

In the vast majority of cases, the solution is to properly reinstall nvcuda. dll on your PC, to the Windows system folder. Alternatively, some programs, notably PC games, require that the DLL file is placed in the game/application installation folder.

How do I download Nvcuda DLL?

Method 1: Download Nvcuda.dll to PC from our site. Copy the file to the program install directory after where it is missing the DLL file. Or move the DLL file to the directory of your System (C:\Windows\System32, and for a 64 bit in C:\Windows\SysWOW64\). Now you need to reboot the computer.

Could not find Nvcuda DLL TensorFlow requires that this DLL be installed?

TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:\Windows\System32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.


1 Answers

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 ;)

like image 175
user1197146 Avatar answered Sep 20 '22 14:09

user1197146