1

I made a C++ program in Visual Studio, and I wanted to show it to my friend. However, I'd never set up the visual C++ runtime libraries before, and so I started up a windows 8.1 virtual machine and tried to install the libraries there, from this link. However, after installing them, the VM gave this error;

enter image description here

What do I need to install to get the program to work correctly? (the executable is called Main.exe, by the way.)

Maurdekye
  • 155

1 Answers1

3

MSVCP120D.dll is the Debug enabled version of the Standard C++ Library, which is not licensed for redistribution.

Compile your code in Release mode, and the dependency will change to MSVCP120.dll (note, no D), which the user should have, now that you have installed the MSVCRT redistributable package.

Frank Thomas
  • 37,476