Packaged / Distributed Error 'MSVCP120.dll is missing from your computer'

My team recently compiled and packaged a build for our QA staff to look at and they are getting an error when trying to launch the application:

“MSVCP120.dll is missing from your computer”

We had this issue previously with some of our team upon installation, and that was quickly fixed by downloading the 2013 Visual Studios. When we tried this method for our QA, we were unsuccessful.

Has anyone else seen this issue upon attempting to have another computer play their packaged project? We tried Debug, Development, and Shipping package presets.

Thanks in advanced! Sorry if this is some form of small oversight on my teams part.

Hi,

MSVCP120.dll is required for running an application built with VS2013 (that dynamically links to the C runtime).

You mentioned installing Visual Studio didn’t fix this? That’s odd, as Visual Studio installs this DLL.

A better solution for non-programmers is to install the redistribution for VS2013.

http://www.microsoft.com/en-gb/download/details.aspx?id=40784

Thanks.

Is there any way to have the file built into the package? Are we going to have to tell everyone, “Hey! I know you might want to play our game… but you need to go download this file really fast.” ?

It would probably be possible, however it’s more an issue of permission as you’re not always allowed to distribute those DLLs since they belong to Microsoft; to this end, most people simply include that redist in their installer (you can run it in silent mode; games installed from Steam often do this before they launch).

The following MSDN article describes how you can work out whether or not you’re allowed to redistribute certain DLLs:
http://msdn.microsoft.com/en-us/library/8kche8ah.aspx

Any Unreal game will have a lot of dependencies anyway. I don’t know yet how game packaging is provided, but building a launcher that installs dependencies is not that hard. I did it some time ago for UE3 : GitHub - arbonagw/UnrealUpdater: GAMEDEV / Game launcher, updater for Unreal Engine 4 games

I had this same problem. When I start the 32 bits binary file, you need to install the vcredist_x86 distributable. Even when you run a 64 bits OS.

Yeah, that’s correct.

The runtime is dependant on whether the application was built as 32 or 64-bit, not whether the OS is 32 or 64-bit.

On the link there are three downloadable files, which one should I install?

That depends on whether you built the game as “Win32” or “Win64”. You’ll need the x86 version for Win32, and the x64 version for Win64.

I have the same problem, Game crashes instantly. it says fault module MSVCP120.dll

I installed both 32 and 64 bit redistributables, reinstalled them multiple times and still doesn´t work, anyone can help?

Could you please confirm that you have the MSVCP120.dll in the following folders (one is 32-bit, one is 64-bit):

  • C:\Windows\System32
  • C:\Windows\SysWOW64

Thanks.