- 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.
- Do you have your CUDA environment paths set up correctly? i.e. %CUDA_PATH%, %CudaToolkitDir%, %CudaToolkitLibDir%, %NVTOOLSEXT_PATH%
- [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.
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?
2 views (last 30 days)
Peter Cook on 10 Apr 2019
It's hard to tell your specific problem, but here's a couple suggestions.