Sapna
Sapna

Reputation: 71

Debug version of vc++ project compains of missing msvcr80d.dll

I have a native c++ program exe which builds successfully and runs successfully in the release version. However when i try to run debug exe, it throws an exception "This application has failed to start because MSVCP80D.dll was not found. RE-installing the application may fix the proble,

Upvotes: 0

Views: 1074

Answers (2)

Marius Bancila
Marius Bancila

Reputation: 16328

That is because you don't have the DEBUG version of the C/C++ runtime on that machine, only the RELEASE builds. Debug builds are meant only for development and debugging. You should not install/distribute them, only Release builds. And you should install the appropriate redistributable with the VC++ runtimes.

Upvotes: 1

PhilMY
PhilMY

Reputation: 2651

Try statically linking the runtime libraries if you need to run a debug build on a PC that does not have Visual Studio installed.

http://msdn.microsoft.com/en-us/library/abx4dbyh(v=VS.100).aspx

Upvotes: 1

Related Questions