Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The file MSVCP100D.dll is missing from the computer

What I'm having is that this error is displayed when I wanted to copy a exe debug project that I have created (which works witout any problems) to another machine (the error message is displayed).

According to the question posted previously, the best solution to get rid of the error message is to make a release and not a debug in the Configuration Manager.

Doing that, and when rebuilding the project with the RELEASE one, I'm having new errors in my project which were not included when doing the DEBUG.

For instance, one of them is :

Error   2   error C1083: Cannot open include file: 'opencv\highgui.h': No such file or directory    c:\...\projects\...\ex\opencv.h 4
23  IntelliSense: identifier "IplImage" is undefined    c:\...\ex.cpp   80

Any feedbacks?

like image 650
M.Mellouli Avatar asked Jun 17 '13 08:06

M.Mellouli


People also ask

How do I fix a missing DLL in Windows 10?

I suggest you to run a SFC (System File Checker) scan. Right click on Start button and select “Command Prompt (Admin)”. Type “sfc /scannow” and press Enter. After the scan is complete, type “exit” and press Enter.

Why do DLL files go missing?

Sometimes, you'll get a missing . dll file error while using hardware such as a printer. This error can be due to an older version of the driver that is not compatible with the updated . dll file, so the printer is looking for a wrong .


1 Answers

You've probably added include paths for OpenCV to your project file. Unfortunately, Visual Studio by default makes such changes ONLY to the active configuration, which in your case was debug.

This rarely makes sense. Adding a logging library would be such a rare case, but you probably needs OpenCV in both debug and release builds.

like image 193
MSalters Avatar answered Oct 24 '22 02:10

MSalters