Can't compile sample projects visual studio

Currently can’t compile projects in Visual Studio 2013.
I did this Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.2 Documentation
and it’s still giving me the following errors:

1>------ Build started: Project: mmooo, Configuration: Development_Editor x64 ------
1> Parsing headers for mmoooEditor
1>LogTextLocalizationManager : warning : The selected culture ‘pt_BR’ is not available; falling back to ‘en’
1> Code generation finished for mmoooEditor and took 6,58
1> Performing 8 actions (max 4 parallel jobs)
1> [2/8] rc.exe mmooo.rc
1>C:\Users\Bruno\Documents\Unreal Projects\mmooo\Source\mmooo\Resources\Windows\mmooo.rc(11): fatal error RC1015: cannot open include file ‘windows.h’.
1>
1> PCH.mmooo.mmooo.h.cpp
1>C:\Program Files\Unreal Engine\4.2\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(8): fatal error C1083: Cannot open include file: ‘new’: No such file or directory
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\Users\Bruno\Documents\Unreal Projects\mmooo\Binaries\Win64\UE4Editor-mmooo.dll
1> Cumulative action seconds (4 processors): 0,00 building projects, 1,16 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
1> UBT execution time: 32,52 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ““C:\Program Files\Unreal Engine\4.2\Engine\Build\BatchFiles\Build.bat” mmoooEditor Win64 Development “C:\Users\Bruno\Documents\Unreal Projects\mmooo\mmooo.uproject” -rocket” exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

help please

Hi ,

What version of Visual Studio 2013 are you using? Can you check your VS120COMNTOOLS environment variable and let me know where it is pointing to (you can locate this at Control Panel\System and Security\System -> Advanced system settings -> Environment Variables)?

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\

This is a bit of an odd one. It looks like it can’t find some headers that it needs. Specifically windows.h. Seeing as you have VS2013 installed I’m guessing you have all the proper stuff but it’s not seeing it. Try adding you skd includes to your PATH. It should be in a location something like this: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

if you need help adding something to your path follow this:

A WORD OF CAUTION:
If you’re not familiar with your path variable I would highly recommend copying and pasting it into a text file and saving it in a text file before you modify it in case you break something and need to restore it.

Hi ,

Please download the attached file and place it in an empty folder on your desktop. Remove the .txt extension from the end of the file name, then run the program. It will create an info.txt file inside the folder. If you could upload that info.txt file, that might provide some additional information to help troubleshoot this issue.

there you golink text

there you go
link text

link text

there you go

Hi ,

Go to your PATH environment variable (the same place you found the VS120COMNTOOLS variable) and add ;C:\Windows\System32 to the end of the contents (make sure you include the “;” and DO NOT DELETE ANYTHING FROM THE VARIABLE), then shut down and restart Visual Studio (if it is already open) and try building the project again.

Nope nothing still having trouble compiling sample projects. How do I reinstall everything?

Hi ,

You can uninstall a program by going to Control Panel\Programs\Programs and Features, selecting the program you would like to uninstall, then clicking the Uninstall button. To reinstall you would just run the program’s installer program again. It is a good idea to reboot your computer after uninstalling or reinstalling a program.

Hi ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information you may have and we will offer further assistance.

Thank you.