Why do I get errors when I try to build, when rebuild works fine?

Don’t know why, but every time I try to " build " anything (game projects in general or UE4 itself) I got errors!

All those errors are related to include *. h files. But when I hit " rebuild " on UE4, everything goes well…

The main problem is, after rebuild the engine, I try to " build " my game project and it says that can not include windows.h !

PS.: I’m using Development Editor and Win64.

Help please!

Error #2 says that it can’t include the file ‘new’. Can you go to line 8 of PlatformIncludes and see what that line is trying to do? It may be you are not declaring something there correctly so it is failing to find other includes. However, check this thread for more info on the Windows.h problem.

Thanks for the answer, I’ve solved it. The problem was with the paths to include headers and libraries from the Windows SDK. I’ll answer myself later today!

Ok, I’ve solved it. The problem was with the paths to include headers and libraries from the Windows SDK… in my case it wasn’t working properly.

I installed Windows SDK 8 and added the paths in project properties: