Reputation: 720
I'm using GitBash on Windows, since the unix commands are more comfortable for me to use. I'm currently trying to follow this manual to compile Godot from source, using SCons with MinGW.
For some reason, I get the warning:
ERROR: No valid compilers found, use MINGW_PREFIX environment variable to set MinGW path.
So I've set the MINGW_PREFIX
env var manually; however, when trying to echo $MINGW_PREFIX
, I get:
/mingw64
instead of getting the correct path (which would be C:\Users\[username]\scoop\apps\mingw\current
). When trying to print MINGW_PREFIX
using cmd.exe
, I get the correct path; I've noticed there's a folder named "mingw64" inside Git's root dir, so I believe GitBash is setting this value by itself.
I wanna be able to do this from GitBash. How should I do this?
Upvotes: -1
Views: 34