I'm having the same problem as this user, except that I'm using the x64 native prompt for VS 2022. Does it have to be VS 2019?
The Meson build system
Version: 1.0.0
Source dir: C:\Users\18607\Downloads\The-Powder-Toy-master\The-Powder-Toy-master
Build dir: C:\Users\18607\Downloads\The-Powder-Toy-master\The-Powder-Toy-master\build-debug
Build type: native build
Project name: the-powder-toy
Project version: the.cake.is.a.liemeson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"A full log can be found at C:\Users\18607\Downloads\The-Powder-Toy-master\The-Powder-Toy-master\build-debug\meson-logs\meson-log.txt
I've tried installing "Desktop development with C++" and still get the slew of WinError's.
Closing and reopening the prompt after the install worked (maybe it wasn't detecting something from that).