开发者

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

I have a native c++ program exe which builds successfully and runs 开发者_如何学Csuccessfully 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,


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜