I am trying to run a program I compiled in Visual Studio 2013. However, I get the error
The program can't start because MSVCP110D.dll is missing from
your computer. Try reinstalling the program to fix this problem.
This is not a very helpful error. However, after some Googling, I found that it is (apparently) trying to load a standard c++
library dynamically, and that to get around this I need to specify the /MT
option rather than the /MD
option. This leaves me with a number of questions:
- What exactly is that doing?
- What are the benefits of
/MD
as opposed to /MT
? I mean, there must be a reason that it is the default options...
- How would I go about getting the looked for
.dll
and getting Visual Studio to use it? I downloaded this, but honestly don't know exactly how to use it.
- Most importantly, how to I get that error to go away and my program to run?
Some additional info: I am compiling in Release
mode using an x64
build.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…