Problem with compiling 64 bit version

Godot Version

3.6

Question

Hello,
My name is Piotrek.
How are you all?
Today I managed to compile my Godot fork but only in the 32 bit version because Scons only sees MSVC x86.
My attempts to solve this problem:
Compiling with mingw:

When compiling with mingw I get the error: scons platform=windows use_mingw=yes,cannot find specified file platform\windows\godot_windows.windows.tools.64.o]

I added Path for minigw, then changed Path for vcvars64.bat but neither of these options helped.

Running vcvars64.bat didn’t help either.

After entering arch=x86_64 I received information that MSVC ignores architecture overwriting.

I have a 64-bit processor.

Does anyone know of possible causes and solutions that I haven’t tried?

Have a nice weekend.