It looks like you have not loaded the MSVC toolchain environment. You’ll need to run vcvarsall.bat to load it. Or use a developer prompt. I see you’re using PowerShell; we use this script to load the batch file as intended. See .gitlab/os-windows.yml for how it gets used.