Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSVCP120d.dll missing

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 Debug version of C++ runtime. No redistribution allowed.

http://msdn.microsoft.com/en-us/library/windows/hardware/dn448963(v=vs.85).aspx

like image 261
MazzMan Avatar asked Feb 11 '14 16:02

MazzMan


People also ask

What is msvcp120d dll?

dll, File description: Microsoft® C Runtime Library.

How do I fix missing dll?

dll errors. If the User32. dll error message appeared during or after you installed a program, a hardware component, or a driver, uninstall the program, the hardware component, or the driver. Then restart Windows, and reinstall the program, the hardware component, or the driver.

How do I fix msvcp120 dll in Windows 10?

This issue might if the Microsoft Visual C++ 2010 Redistributable Package is not installed properly. I suggest you to uninstall any existing Microsoft Visual C++ Redistributable Package and install the latest Microsoft Visual C++ 2010 Redistributable Package to check if it helps.


1 Answers

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

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 is from Visual Studio 2005
  • MSVCP90.DLL is from Visual Studio 2008
  • MSVCP100.DLL is from Visual Studio 2010
  • MSVCP110.DLL is from Visual Studio 2012
  • MSVCP120.DLL is from Visual Studio 2013
  • MSVCP140.DLL is from Visual Studio 2015, 2017 and 2019

There is binary compatibility between Visual Studio 2015, 2017 and 2019.

like image 69
drescherjm Avatar answered Sep 27 '22 20:09

drescherjm