VS 2013 build errors UE 4.8

Hey guys, I have a problem with compiling Unreal Engine source.

Main problem is probably with windows.h. I how to solve this problem, but nothing helps.
I am using Windows 7 64bit and my VC++ Directories are set to inherit from parent.
Unreal Engine 4.8 release source version from github.

What I’ve tried already:

  • reinstalled VS 2013/ installed different version.
  • installed Windows SDKs for Windows 7.
  • installed Windows Kits 8,8.1,10.
  • installed .NET 4.5+.
  • tried different VC++ Directories settings from my SDKs and Kits.
  • tried newer VS platform set (2015) - apparently not supported yet.
  • tried to run VS as an admin.
  • tried to check VS120COMNTOOLS path… it’s ok, probably even main path.
  • checked my Windows username - normal without bad characters.
  • tried to correctly check Setup.bat and Generate…bat whether my source is missing something.
  • tried to check anti-virus blocking or another program interference with access to files.
  • tried to update my Windows.
  • tried to check my DirectX - installed v11.

I feel like this is going to be a serious hardcore problem or really stupid easy one.

I don’t know what to do now, so I ask for your help. Thanks for any answers !

Hey -

Based on the errors shown (RC1015 and C1083) you’re correct that the likely issue is with Windows.h. If you’ve already tried to install the SDK then you may want to check that the dependencies are correct by running Setup.bat and GenerateProjectFiles.bat again. Also make sure that your anti-virus is not blocking access to Epic/UnrealEngine.

Cheers

Hey ,

Thanks for your answer. I have tried to run Setup.bat and GenerateProjectFiles.bat to check that the dependencies are correct many times… no warnings what so ever, so I think source is OK. But I probably try to download older version, to find out whether the problem sustains. Anyway I tried to turn off anti-virus and all potencial program which could interfere with access to files… and even windows firewall… I even allowed whole folder full access for every single account. Still nothing helps, but I am not giving up! Currently updating Windows 7 hoping it will help. Cheers.

Hey -

I haven’t heard from you and just wanted to find out if updating Windows was able to solve the build errors you were getting. If you are still having any problems getting the editor started please comment here and let us know if anything has changed or if you’re still getting the same error messages.

Hey ,

so I tried to update Windows, unfortunately it did not help. I also tried reinstalling couple times Visual Studio. I somehow managed to get into even worse state - my VS 2013 crashes on startup, so currently I am fixing this problem. I will hopefully post my final answer after couple days. I think I know where is the problem already, but first things first - I have to repair my VS.

Hey -

Were you able to fix the issues with VS? Let me know if you’ve got that running again and if you were able to test the theory you had on fixing your compile issue as well.