Problem creating new project in 4.7.1

Hey, i can´t create any project in c++ because the program reports an error generating the code. here´s the log. Can someone help?

The project failed to compile with this version of the engine. Build output is as follows:

Running C:/Program Files/Epic Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject2 Development Win64 -project=“C:/Users/JoãoPedro/Documents/Unreal Projects/MyProject2/MyProject2.uproject” -rocket -editorrecompile -progress
Parsing headers for MyProject2Editor
Reflection code generated for MyProject2Editor
Performing 10 actions (4 in parallel)
[3/10] Resource MyProject2.rc
[2/10] Resource ModuleVersionResource.rc.inl
C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Users\Jo?oPedro\Documents\Unreal Projects\MyProject2\Source\MyProject2\Resources\Windows\MyProject2.rc(8) : fatal error RC1015: cannot open include file ‘windows.h’.

PCH.MyProject2.MyProject2.h.cpp
C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5) : fatal error C1083: Cannot open include file: ‘new’: No such file or directory
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: C:\Users\JoaoPedro\Documents\Unreal Projects\MyProject2\Binaries\Win64\UE4Editor-MyProject2.dll
Cumulative action seconds (4 processors): 0.00 building projects, 1.12 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
UBT execution time: 16.89 seconds

I am receiving the same issue. Building it with VS works when I go to project->references-> vc dirs and set them to inherit from parent, but still does not allow the in-game compiler to work. As such, I am unable to update classes in realtime, requiring a whole new compilation through VS each time, which in turns seems to require restarting UE.

My username has no special characters, just as a side note.

Problem persists in 4.7.2 hotfix. The build log is as follows:

The project failed to compile with this version of the engine. Build output is as follows:

Running C:/Program Files/Epic Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject6 Development Win64 -project=“C:/Users//Documents/Unreal Projects/MyProject6/MyProject6.uproject” -rocket -editorrecompile -progress
Parsing headers for MyProject6Editor
Reflection code generated for MyProject6Editor
Performing 7 actions (4 in parallel)
[2/7] Resource ModuleVersionResource.rc.inl
[3/7] Resource MyProject6.rc
PCH.MyProject6.MyProject6.h.cpp
C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Users\Documents\Unreal Projects\MyProject6\Source\MyProject6\Resources\Windows\MyProject6.rc(8) : fatal error RC1015: cannot open include file ‘windows.h’.

C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5) : fatal error C1083: Cannot open include file: ‘new’: No such file or directory
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: C:\Users\Documents\Unreal Projects\MyProject6\Binaries\Win64\UE4Editor-MyProject6.dll
Cumulative action seconds (8 processors): 0.00 building projects, 2.40 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
UBT execution time: 20.60 seconds