Failed to retrieve MSVC Environment
-
Hello,
With no reason, I receive this error when I open QT creator but yesterday it was working fine and I didn't change any thing on my PC...
erreur : Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86":
The command "C:\windows\system32\cmd.exe" could not be started.Could you help me please ??
-
Hello,
With no reason, I receive this error when I open QT creator but yesterday it was working fine and I didn't change any thing on my PC...
erreur : Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86":
The command "C:\windows\system32\cmd.exe" could not be started.Could you help me please ??
-
Hello,
With no reason, I receive this error when I open QT creator but yesterday it was working fine and I didn't change any thing on my PC...
erreur : Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86":
The command "C:\windows\system32\cmd.exe" could not be started.Could you help me please ??
-
-
@filipdns check QTBUG above, install batch fix (Qt Creator 4.7.1)
-
@filipdns check QTBUG above, install batch fix (Qt Creator 4.7.1)
@Mohammad-Kanan I'm using the 4.7.1 for the moment, only problem is have to manually add the Qt version and manage manually the kit but it's working.
I mark this topic as solved but it's not really the case because maintenance tools is not usable any not in this configuration.
-
I have the same exact issue with Qt Creator 4.7.1 installed [based on Qt 5.11.2 (MSVC 2015, 32 bit)], build on Sep 18 2018. OS is 64-bit Windows 10, version 1803 (OS build 17134.286). Whenever I try to build ANY Qt project regardless of how simple it is, I see the error. It looks like it can't start the cmd processor. How can I get this working?
Thanks!
-
I have the same exact issue with Qt Creator 4.7.1 installed [based on Qt 5.11.2 (MSVC 2015, 32 bit)], build on Sep 18 2018. OS is 64-bit Windows 10, version 1803 (OS build 17134.286). Whenever I try to build ANY Qt project regardless of how simple it is, I see the error. It looks like it can't start the cmd processor. How can I get this working?
Thanks!
-
Hi,
For me, executing C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build>vcvars32.bat x86 from cmd was giving the below output:
The system cannot find the path specified.
** Visual Studio 2019 Developer Command Prompt v16.4.5
** Copyright (c) 2019 Microsoft Corporation
The system cannot find the path specified.
The system cannot find the path specified.
[vcvarsall.bat] Environment initialized for: 'x64'This solved it: https://stackoverflow.com/questions/64248886/visual-studio-c-build-tools-vsdevcmd-bat-vcvarsall-bat-fails-to-find-some
Best,
Alex