Windows Kits errors preventing build
Just a couple of days ago I was able to build for 4.4 and 4.5 successfully, but now I get over 100 errors regarding Windows Kits which prevents me from building. I haven't changed anything, so I don't know why it suddenly has stopped working. I think it's more likely it has to do with VS or the environment somehow, rather than UE4 itself, as it started to happen with both 4.4 and 4.5 at the same time, but I don't know what could possibly be wrong, so I'm hoping someone with more experience in VS here has a potential solution. Until then, I'm locked out of my project.
I have tried both versions 4.4.3 and 4.5.1, with configurations for development_editor (x64), development (x64) and shipping (win32), and I get the same thing for them all. Double clicking an .uproject and letting it rebuild from there gives the same error.
my C:\Program Files (x86)\Windows Kits\8.1 is 555mb and has plenty of files in it.
Using the pre-compiled engine versions and Visual Studio Ultimate 2013.
Here's the full error from VS:
asked Nov 15 '14 at 12:40 PM in Everything Else
Alright! After trying just about everything, I finally found the solution. If anyone else encounters this problem, this is what I did:
I simply had to copy the files in Windows Kits/8.0/Include into Windows Kits/8.1/Include, replacing all the conflicting files. I'm sure this is very not-recommended, but atleast now it works, and I can tell no difference otherwise, so I'm happy.
answered Nov 21 '14 at 04:41 PM
The Unreal Engine does not support windows types somehow. You can wrapp your #include windows.h, or something similar you may have, with
Please try this and reply if I am wrong.
answered Nov 16 '14 at 12:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here