Help me to Fix MSVCP140.dll is Missing error

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
paulwilliams143
Posts: 7
Joined: 03 Dec 2018, 05:35

Help me to Fix MSVCP140.dll is Missing error

Post by paulwilliams143 »

I've tried almost every single solution to fix this issue but no help. I'm using Windows 8.1 laptop but no able to use OpenMW in any way.

Here's the exact error message I'm getting:

"The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem."

Is there anything I'm missing or some kind of required file? I need some permanent solution.
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Help me to Fix MSVCP140.dll is Missing error

Post by akortunov »

viewtopic.php?t=5461
Basically, you need the Microsoft Visual C ++ Redistributable package.
Last edited by akortunov on 03 Dec 2018, 07:19, edited 1 time in total.
paulwilliams143
Posts: 7
Joined: 03 Dec 2018, 05:35

Re: Help me to Fix MSVCP140.dll is Missing error

Post by paulwilliams143 »

I already tried it but no help.
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Help me to Fix MSVCP140.dll is Missing error

Post by akortunov »

paulwilliams143 wrote: 03 Dec 2018, 07:19 I already tried it but no help.
Do you have the MSVCP140.dll installed on your system (I assume you installed mentioned package, right)?
I suppose it should be in the C:\Windows\System32\ on the 32-bit OS or in the C:\Windows\SysWOW64\ on the 64-bit OS.
User avatar
AnyOldName3
Posts: 2674
Joined: 26 Nov 2015, 03:25

Re: Help me to Fix MSVCP140.dll is Missing error

Post by AnyOldName3 »

It should be in System32 on either version - SysWOW64 is short for System32WindowsOnWindows64, and it's where the 32-bit versions of things live, because of course that makes sense. I think the justification is that when some applications were recompiled for 64-bit for the first time, it was realised they were hardcoded to load DLLs from System32 instead of wherever the linker said they'd be.
paulwilliams143
Posts: 7
Joined: 03 Dec 2018, 05:35

Re: Help me to Fix MSVCP140.dll is Missing error

Post by paulwilliams143 »

Hey, I couldn't find it in either locations.

I also looked it up on Google and they said that I have to add some type of DLL file into my PC manually.

Is that so?
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Help me to Fix MSVCP140.dll is Missing error

Post by psi29a »

Normally you have to install 32-bit (and 64-bit if your OS is 64-bit) of the redist... that should take care of things.

Here is the last thread that asked about MSVCP140.dll:
viewtopic.php?f=8&t=5461&p=59022

I answered and it was marked solved. ;)
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Help me to Fix MSVCP140.dll is Missing error

Post by akortunov »

Is it possible to provide Microsoft libraties in OpenMW packages for Windows, or somehow notify users about they need a Microsoft Visual C++ Redistributable?
User avatar
AnyOldName3
Posts: 2674
Joined: 26 Nov 2015, 03:25

Re: Help me to Fix MSVCP140.dll is Missing error

Post by AnyOldName3 »

The release builds are supposed to contain the redists, and the only way I can see them not getting installed is if the user has already manually screwed something up by manually installing other DLLs from the same redist.
paulwilliams143
Posts: 7
Joined: 03 Dec 2018, 05:35

Re: Help me to Fix MSVCP140.dll is Missing error

Post by paulwilliams143 »

psi29a wrote: 04 Dec 2018, 09:10 Normally you have to install 32-bit (and 64-bit if your OS is 64-bit) of the redist... that should take care of things.

Here is the last thread that asked about MSVCP140.dll:
viewtopic.php?f=8&t=5461&p=59022

I answered and it was marked solved. ;)
Sure, I'll go through the thread that you mentioned.
Post Reply