I thought otherwise when I saw the output (from running what I mentioned first),
Checking for ‘msvc’ (C compiler) : C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\CL.exe
Checking for ‘msvc’ (C++ compiler) : C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\CL.exe
(I simply assumed “It sees MSVC, so surely it’s gonna configure for Windows…”)
I decided to try with --msvc_version="msvc 10.0,msvc 9.0" --msvc_target="x64".
The 1st flag alone gave the error,
msvc: Impossible to find a valid architecture for building [‘msvc 10.0’, ‘msvc 9.0’, ‘msvc 8.0’, ‘msvc 7.1’, ‘msvc 7.0’, ‘msvc 6.0’] - [‘msvc 17.14’]
(I assume that’s an outdated flag or something).
The 2nd flag (or the combo of the 1st and 2nd flag) gives the following output,
Checking for ‘msvc’ (C compiler) : not found
Checking for ‘gcc’ (C compiler) : not found
Checking for ‘clang’ (C compiler) : not found
could not configure a C compiler!
The 3rd flag seems to change nothing. Guess it builds for 64 bit Windows automatically. To confirm this, I ran the same command as before: python waf configure --prefix=C:/Ardour2 --configdir=share --optimize --ptformat , then opened config.log, where it said [vcvarsall.bat] Environment initialized for: 'x64'
Before I try to circumvent this by other means, do you think the root wscript should be edited, for whatever this circumstance is?