MATLAB Answers

Invalid MEX-file missing dependencies libraries,​"cudart64_​75.dll" and "nppi64_75.dll" missing ,I Actually wrote the program for cropping of the video frames in rectangle bounding boxes, it is throwing these error.how can i resolve this error?

10 views (last 30 days)
Aishwarya inamdar
Aishwarya inamdar on 10 Apr 2019
Edited: Aishwarya inamdar on 11 Apr 2019

  1 Comment

Jan
Jan on 10 Apr 2019
What is your question? The error message is clear, but how could we guess preceisely, why the mentioned libraries are not where they are expected?
If the libraries are missing, you have to provide them. We cannot know, why your code needs "nppi64_75.dll". So please explain, how you have created them, where these libraries are located and which you (or the author of the code) include them.

Sign in to comment.

Answers (1)

Peter Cook
Peter Cook on 10 Apr 2019
It's hard to tell your specific problem, but here's a couple suggestions.
  1. If you compile the cuda mex in Visual Studio instead of MATLAB you can choose to statically link the NVIDIA libraries in Project/Solution settings and you won't need to ship the DLLs.
  2. Do you have your CUDA environment paths set up correctly? i.e. %CUDA_PATH%, %CudaToolkitDir%, %CudaToolkitLibDir%, %NVTOOLSEXT_PATH%
  3. [General Windows development advice] The first place a DLL (i.e. *.mexw64) looks for a dependency is the folder its sitting in, did you try copying the DLLs to the same directory as the mex to see if it works? If this fails you will have to fix some problems with the compiler/linker to get your project to go.

  3 Comments

Aishwarya inamdar
Aishwarya inamdar on 11 Apr 2019
Could you please take my laptop remote,and help me to resolve this issue, resolving of this error is very much urgent for me. Contact:8197179432
Jan
Jan on 11 Apr 2019
@Aishwarya inamdar: It is a really bad idea to offer a foreign person from an internet forum to access your computer by remote access. I do not have any idea, what kind of address "8197179432" is. You cannot expect that somebody, who is not involved in your work can fix the problem magically without knowing, what you have actually done. The current level of explanation is low and the details have not been cleared. Then inviting another person to fix your problems magically will not work.
So please explain what you are doing, how the file has been compiled and where the missing DLLs are found.

Sign in to comment.

Sign in to answer this question.


Translated by