So, i saw the new version that came out for TPT, and when i tried to re-compile the game, on the "meson setup build-debug", meson said: "meson.build:1:0: ERROR: Meson version is 0.63.2 but project requires >=0.64.0"
I tried updating it with pip --upgrade meson ninja, but it is still saying that it's on 0.63.2. Also tried updating pip, still no luck.
Maybe reinstalling Meson can fix it? (I followed the instructions in How to compile TPT, like i always do when updating the game)
when i run the upgrade command, pip tells it's on 1.4.0, but when i run meson, it just gets the 0.63.2 version, even when i upgrade pip
Ok, while i was writing this, i tried to execute the upgrade meson again, and it did something, but it still says that it's on 0.63.2. After executing "where meson" (i tough it was which meson, since the forum didn't say about where meson, but it works now), it found 2 meson's installed.
first one: C:\Program Files\Meson\meson.exe
second one: C:\Users\(My User)\AppData\Local\Programs\Python\Python312\Scripts\meson.exe
should i like, delete one of them, or is there a command to make it run only on one?
Thanks, it works fine now, when i uninstalled it, in the "version", it said 0.63.2, so it was the "broken" one.
EDIT: Sadly another error ocurred now, after compiling the game, i tried to place my modded elements from the other version, and ninja said that there was nothing to do, when there was. I tried to re-compile the game, and now it gives an error when compiling the elements.
EDIT AGAIN: ok, it seems that the code of the game changed, and my materials were using the old code. But i didn't understand some of the things that changed. For example, in AMTR: /src/simulation/elements/AMTR.cpp(55): error C2065: 'BOUNDS_CHECK': identificador não declarado (Undeclared identifier or something like that, my system is in brazillian portuguese). What should i replace it for?