For some reason, when I try to build with either VS or just command line, it says this:
The Meson build system
Version: 0.59.1
Source dir: C:\Users\[REDACTED]\source\repos\TPT
Build dir: C:\Users\[REDACTED]\source\repos\TPT\build-debug-vs
Build type: native build
Project name: the-powder-toy
Project version: the.cake.is.a.lie
meson.build:1:0: ERROR: Compiler cl can not compile programs.
Here's the log file it give me:
Build started at 2021-09-11T12:11:30.822756
Main binary: c:\users\[REDACTED]\appdata\local\programs\python\python39\python.exe
Build Options: -Dbackend_startup_project=powder -Dbackend=vs
Python system: Windows
The Meson build system
Version: 0.59.1
Source dir: C:\Users\[REDACTED]\source\repos\TPT
Build dir: C:\Users\[REDACTED]\source\repos\TPT\build-debug-vs
Build type: native build
Project name: the-powder-toy
Project version: the.cake.is.a.lie
Sanity testing C compiler: cl
Is cross compiler: False.
Sanity check compiler command line: cl sanitycheckc.c /Fesanitycheckc.exe /MDd /nologo /showIncludes /link
Sanity check compile stdout:
sanitycheckc.c
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
-----
Sanity check compile stderr:
-----
meson.build:1:0: ERROR: Compiler cl can not compile programs.
I have no clue what's wrong here, I was able to build TPT before..
I thiiink I know the issue. For some reason, kernel32 isn't being seen by Meson, even though VS and literally every other program can see it. Is there a enviorment variable I have to set or something? Or is there options for directly specifying a link directory?