Unsolved Can't launch application. dll is missing
-
Hi, just to add to @koahnig, it's correct that the same error also occurs for a simple Qt console application. Try update Visual studio 2017 to version 15.4.4 on the PC that has the error.
-
15.4.4 already.
-
Firstly, the problem was with vcruntime140d_app.dll. But then it somehow appeared on my drive. I updated everything what I could. Now I need api-ms-win-core-rtlsupport-l1-2-0.dll. I have just api-ms-win-core-rtlsupport-l1-1-0.dll
-
Just checking: you only installed the plain vanilla "msv2017 64-bit" version of Qt 5.9.2 and not any version with a "UWP .." prefix?
-
winrt_x86_msvc2017
-
@za83
Couple of suggestions:-
https://stackoverflow.com/a/45773325/489865 says that file has just been supplied with "updated my VS2017 from v15.2 to v15.3.1" (August?) Make sure your VS 2017 is updated?
-
Are you sure you really don't have the file 9assuming you're updated)? Post at https://social.msdn.microsoft.com/Forums/en-US/e9a3e78c-7764-4145-bdc0-e354e3e599de/how-the-api-set-dlls-work?forum=windowssdk They require: "You can see them in explorer by allowing the display of "protected operating system files".".
-
Although I don't think it solves your problem, https://forum.qt.io/topic/66765/api-ms-win-core-rtlsupport-l1-2-0-missing-on-a-windows-7-deployment post on this site might be worth reading through?
-
-
It looks like qt-msvc2015 works well. But not winrt_x86_msvc2017.
(Platform toolset in VS 2017-v141). -
Hi, winrt_x86_msvc2017 works fine if you upgrade your Windows 7 to Windows 10. (But "msvc2017 64-bit" works on both Windows 7 and Windows 10.)
-
Now I built in Windows 10 32-bit. It requires msvcp140_app.dll. But there is no that dll on my drive.
-
Hi, msvcp140_app.dll should be installed in C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe, but perhaps you forgot to enable UWP development? Start the Visual Studio Installer and check, see picture below:
Also: make sure you've enabled Developer mode in Settings.
-
This post is deleted! -
@hskoglund it helped. But in Windows 7 I still get error
The program can't start because api-ms-win-core-rtlsupport-l1-2-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
Can I launch the program built with Qt 5.10 on Windows 7?
-
@za83 You can launch a program built with Qt 5.10 on Windows 7 if it's built using the "MSVC 2017 64-bit" compiler version.
But you can not launch a program built with Qt 5.10 on Windows 7 if it's built using the "UWP x86 (MSVC2017)" compiler version.
That's why you get that error on Windows 7, you built your Qt program using the "UWP x86 (MSVC2017)" version :-(
Note: if you need a 32-bit version of Qt 5.10 that's not UWP-flavored, you need to download and install the older compiler MSVC2015 from Microsoft, then you can install "MSVC 2015 32-bit" Qt compiler version, which will allow you to run 32-bit Qt programs on WIndows 7.
-
@hskoglund with Qt 5.10 msvc2015 I get error
The program can't start because api-ms-win-core-rtlsupport-l1-2-0.dll is missing from your computer. Try reinstalling the program to fix this problem.
Qt 5.9 it's ok.
-
Hi,
One small correction: you can use Visual Studio 2017 with libraries built for VS2015, these two compilers are compatible (which is the first time two Microsoft Compilers are compatible).