MSVCP120d.dll missing(MSVCP120d.dll 丢失)
问题描述
每次我想编译我的 Visual Studio 项目时,我都会收到缺少 MSVCP120d.dll 的消息.谷歌帮不了我.我已经安装了一些可再发行组件,但它们没有帮助.我也发现了这个:
Every time I want to compile my Visual Studio project I get the message that MSVCP120d.dll is missing. Google can't help me. I already installed some redistributables but they didn't help. I also found this:
Msvcp120d.dll C++ 运行时的调试版本.没有重新分配允许.
Msvcp120d.dll Debug version of C++ runtime. No redistribution allowed.
http://msdn.microsoft.com/en-us/library/windows/hardware/dn448963(v=vs.85).aspx
推荐答案
根据评论,问题是由于在使用 Visual Studio 2012 编译的项目中使用了使用 Visual Studio 2013 构建的 dll 引起的.第三方库命名了包含 dll vc11、vc12 的文件夹.任何使用编译器版本(少于 4 位)的系统都必须小心,因为这与 Visual Studio 的版本不匹配(Visual Studio 2010 除外).
From the comments, the problem was caused by using dlls that were built with Visual Studio 2013 in a project compiled with Visual Studio 2012. The reason for this was a third party library named the folders containing the dlls vc11, vc12. One has to be careful with any system that uses the compiler version (less than 4 digits) since this does not match the version of Visual Studio (except for Visual Studio 2010).
- vc8 = Visual Studio 2005
- vc9 = Visual Studio 2008
- vc10 = Visual Studio 2010
- vc11 = Visual Studio 2012
- vc12 = Visual Studio 2013
- vc14 = Visual Studio 2015
- vc15 = Visual Studio 2017
- vc16 = Visual Studio 2019
Microsoft C++ 运行时 dll 使用 2 或 3 位代码也基于编译器版本而不是 Visual Studio 版本.
The Microsoft C++ runtime dlls use a 2 or 3 digit code also based on the compiler version not the version of Visual Studio.
- MSVCP80.DLL 来自 Visual Studio 2005
- MSVCP90.DLL 来自 Visual Studio 2008
- MSVCP100.DLL 来自 Visual Studio 2010
- MSVCP110.DLL 来自 Visual Studio 2012
- MSVCP120.DLL 来自 Visual Studio 2013
- MSVCP140.DLL 来自 Visual Studio 2015、2017 和 2019
Visual Studio 2015、2017 和 2019 之间存在二进制兼容性.
There is binary compatibility between Visual Studio 2015, 2017 and 2019.
这篇关于MSVCP120d.dll 丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:MSVCP120d.dll 丢失
基础教程推荐
- 如何“在 Finder 中显示"或“在资源管理器中显 2021-01-01
- 管理共享内存应该分配多少内存?(助推) 2022-12-07
- 如何使图像调整大小以在 Qt 中缩放? 2021-01-01
- 在 C++ 中循环遍历所有 Lua 全局变量 2021-01-01
- Windows Media Foundation 录制音频 2021-01-01
- 如何在不破坏 vtbl 的情况下做相当于 memset(this, ...) 的操作? 2022-01-01
- 从 std::cin 读取密码 2021-01-01
- 使用从字符串中提取的参数调用函数 2022-01-01
- 为 C/C++ 中的项目的 makefile 生成依赖项 2022-01-01
- 为什么语句不能出现在命名空间范围内? 2021-01-01