how to set system environment variables for Visual Studio 2022 C++ compiler
Unsolved
Qt for Python
-
wrote on 20 Jul 2023, 07:18 last edited by naroo
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
-
wrote on 21 Jul 2023, 06:58 last edited by
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.
2/2