how to set system environment variables for Visual Studio 2022 C++ compiler
Unsolved
Qt for Python
-
I set System Environment variable for C++ compiler as
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build;
I expected to call "vcvarsall.bat" to compile.
and I got this result to make me believe the location is shared.
however cmake on the QT terminal produces an error as below
Do I need to fix some value? -
You first screenshot says:
[ERROR: vcvarsall.bat] Error in script usage.
You need to specify thearch
for this script to do anything at all. Most likely you want to callvcvarsall.bat amd64
to compile for 64-bit.