Greetings folks
For few days I have been trying build godot from source, but every time I try to build it there is some kind of error. I try to do fix it and I usually do by reading docs and other peoples opinion, also try stuff and learn from trial and error, but every time pops out something new(once it built but there were no bin file) and I had just enough of circling around, probably just doing such trivial mistake that I can't see myself. Help and advices would highly be appreciated
Here is the last mistake I had while building:
basisu_enc.h(689): error C3861: 'tolower': identifier not found
Notice: that is current error I have encountered many more that I have somehow fixed but as I said it always pops out new one. Once it even said that it built godot, but there were no bin file.
I have also installed python pack in VS, could that cause SCons malfunctions?
Setup: VS, SCons 3.0.5(tried multiple version because I saw people mentioning how new releases some time won't work), Python 3.8.2, pywin32, Godot 3.2( not newest version because I thought maybe newest version is unstable so that is why I can't build it)
I have tried: multiple versions of SCons, installing additional VS packages, different versions of Godot, reinstalling Python
Tried whole process again same results, now I have used SCons 3.1.1(which is actually required for this godot version):

Solution: VS 2019 is missing required library <ostream> in basisu_enc.h, I have located basisu_enc.h by win 10 search bar, opened by double clicking and added missing library by writing in it #include<ostream>. As I have understood new versions of Godot will not require this library so to building older versions of Godot you will need include this library or download older version of VS that have that library by default.