hi, I've been trying to compile TPT for a bit, but Meson (somehow?) just doesn't build it.
Yes I was compiling in x64 Native Tools Command Prompt VS (2019).
The logs:
Build started at 2022-04-27T18:15:20.543945
Main binary: D:\Python\python.exe
Build Options:
Python system: Windows
The Meson build system
Version: 0.62.1
Source dir: D:\reps\The-Powder-Toy
Build dir: D:\reps\The-Powder-Toy\build-debug
Build type: native build
Project name: the-powder-toy
Project version: the.cake.is.a.lie
WARNING: Failed to activate VS environment: Could not parse vswhere.exe output
meson.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] ?? ??????? ????? ????????? ????"
Running "cl /?" gave "[WinError 2] ?? ??????? ????? ????????? ????"
Running "cc --version" gave "[WinError 2] ?? ??????? ????? ????????? ????"
Running "gcc --version" gave "[WinError 2] ?? ??????? ????? ????????? ????"
Running "clang --version" gave "[WinError 2] ?? ??????? ????? ????????? ????"
Running "clang-cl /?" gave "[WinError 2] ?? ??????? ????? ????????? ????"
Running "pgcc --version" gave "[WinError 2] ?? ??????? ????? ????????? ????"
https://pastebin.com/wpZBbRmC even tho this is the log that i specified higher, but I still decided to upload it onto pastebin.
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -requiresAny -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -requires Microsoft.VisualStudio.Workload.WDExpress -products "*" -utf8 -format json
All that it gives me is "[]".
Seems like it's because I installed VS into "D:/Visual Studio".
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -requiresAny -requires Microsoft.VisualStudio.Workload.WDExpress -products "*" -utf8 -format json
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -requiresAny -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -products "*" -utf8 -format json
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -requiresAny -products "*" -utf8 -format json
...oh, I am stupid. It installed into C:/Program Files (x86)/Microsoft Visual Studio... or is it?
Edit: it gives me [].