Why does it not install MSVCP140.dll and VCRUNTIME140_1.dll when I install version 5.12.6?
-
Good evening, first poster here.
I want to try to develop some interfaces in QGroundControl, and for that, I need to install version 5.12.6 of Qt Creator.
In the developer guide (you can read it here) it says you have to install specifically that version, and also the components: MSVC 2017 64 bit, Qt Charts and Android ARMv7. Once I've installed all the required components, I try to open the installed executable aplication (Qt Creator 4.13.1 (Community)) and it does not work, because it appears MSVCP140.dll and VCRUNTIME140_1.dll aren't installed.
I've tried uninstalling and installing the program several times, and also downloading those ".dll's" and installing them myself inside the root folders, but it does not work (the error windows don't appear but it gives an error 0xc000007b). I dont know what I have to do to install all the dependencies correctly in an easy way. Someone had the same problem as me?
Thanks in advance
-
Hi, and welcome!
@HanksCat said in Why does it not install MSVCP140.dll and VCRUNTIME140_1.dll when I install version 5.12.6?:
MSVC 2017 64 bit
Have you downloaded Visual Studio 2017 from Microsoft?
downloading those ".dll's" and installing them myself inside the root folders
Please don't do that. It is not safe to download DLLs from the Internet.
Always use the official installers. msvcp140.dll and vcruntime140.dll are provided by the Visual Studio installer (or the "Visual C++ Redistributable" installer).
-
SOLVED:
I tried everything Google told me (uninstalling and installing the software & Visual Studio, updating windows, repairing the microsoft Visual C++ redistributables...).
The solution for me:
I had installed in my system "Microsoft Visual C++ 2015 Redistributable (x64) & (x86)". Just the 2015 version, and not the 2015-2019 version.If you have the same problem as me, try installing these, which you can download from here:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads