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 丢失
- 从python回调到c++的选项 2022-11-16
- STL 中有 dereference_iterator 吗? 2022-01-01
- 静态初始化顺序失败 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- C++ 协变模板 2021-01-01
- 近似搜索的工作原理 2021-01-01
- Stroustrup 的 Simple_window.h 2022-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01