Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing runtime in v2.1.2 #235

Closed
BradenEH opened this issue Feb 8, 2021 · 7 comments
Closed

Missing runtime in v2.1.2 #235

BradenEH opened this issue Feb 8, 2021 · 7 comments

Comments

@BradenEH
Copy link

BradenEH commented Feb 8, 2021

I've tried installing v2.1.2 on Windows 10 Pro 1909 but get an error that mvcp140_1.dll is missing on startup. Uninstalled/reinstalled without any change in behavior. A cursory internet search indicates a problem with certain versions of MVC++ not including this file.

Issue repeats after updating to v2.1.2.

@marcusbirkin
Copy link
Collaborator

marcusbirkin commented Feb 8, 2021

This is odd, it should auto bundle with the correct version.

Note for later:
v2.1.2 contains MSVC++ 2015-2019 v14.28.9334
v2.1.0 & v2.1.1 contain MSVC++ 2015 v14.0.24215

@BradenEH
Copy link
Author

BradenEH commented Feb 8, 2021

From what I can see - it will work in debug mode, but there seems to be similar challenges with other applications out there, based on what I could find on the web. One solution was to embed it in the application, but that would probably make it significantly larger. That is where my knowledge runs thin!

@RichardTea
Copy link
Contributor

RichardTea commented Feb 9, 2021

msvcp140_1.dll is required for Windows applications and DLLs built with MSVC 2019 since around Jan/Feb 2020.
Prior to that date it was an optional component that not all MSVC 2019 applications required.

The Windows 32bit installer does contain the correct version of the 32bit redist, signed by Microsoft in Nov 2020.

It would appear that the redist failed to install on your particular machine.
The most probable issue would be that you don't actually have administrative rights but the installer failed to detect that somehow.

Can you take a look in C:\Windows\SysWOW64 and see whether you have an msvcp140_1.dll there?
If it's present, can you post the version of both msvcp140.dll and msvcp140_1.dll?

(Right-click, choose Properties, look in the Details tab)

Note: You may also have msvcp140d.dll and msvcp140_1d.dll. Ignore those!

@BradenEH
Copy link
Author

msvcp140_1.dll was not present until I installed the previous version, which provided it.

This was on a fresh-out of the box PC. I tried on another machine and had the similar issues (see below). Incidentally, on yet another machine that already had other applications installed (i.e. net3 Concert, Paradigm LD), it worked fine.

On the second PC, the following files were reported missing:
MCRUNTIME140.dll
MSVCP140.dll

  • I confirmed that these files do not exist in the sysWOW64 folder

@tw0fer
Copy link

tw0fer commented Sep 15, 2021

Hey there, I'm having the same missing msvcp140_1.dll issue on Windows 10 Pro 1809. I have checked the SysWOW64 folder and it does not exist.

Edit: I can install 2.1.1 no problem. If I try 2.1.2 after installing 2.1.1 the same missing dll error pops up.

@marcusbirkin
Copy link
Collaborator

marcusbirkin commented Sep 15, 2021

The 'Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019' be directly downloaded from Microsoft here: https://aka.ms/vs/16/release/vc_redist.x86.exe

This should install the missing runtime.

Source article for the link: https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0

@docsteer
Copy link
Owner

The problem turned out to be that the exact filename of the redistributable changed - fixed and tested on a clean virtual machine. v2.1.3 beta 1 is now released and on the website, and includes this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants