19>D:\Unreal\Source\UnrealEngine-4.5\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3): fatal error RC1015: cannot open include file 'windows.h'.
19>D:\Unreal\Source\UnrealEngine-4.5\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc(11): fatal error RC1015: cannot open include file 'windows.h'.
19>D:\Unreal\Source\UnrealEngine-4.5\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5): fatal error C1083: Cannot open include file: 'new': No such file or directory
19>D:\Unreal\Source\UnrealEngine-4.5\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5): fatal error C1083: Cannot open include file: 'new': No such file or directory
I’m using Visual Studio 2013.4 and Windows 10.
But I don’t think that’s related, since I could build UE4.5 before on the same system. It only happen after the latest changes.
Edit:
I checked include path in project settings, and it seems like visual studio can find proper include files. So it must be something with UHT. I will keep digging tis issue.
We don’t have Windows 10 here at the office, so helping to troubleshoot this issue may be a little bit tricky. Having said that, the errors C1083 and RC1015 typically mean that the Windows SDK is missing. I am not sure if the Windows 8 SDK will work with Windows 10.
The Master branch of the Engine is also highly unstable and mostly untested. We do not make any guarantees that a version of the Engine built from the Master branch will be fully functional, nor that it will always build successfully. I am starting a build of the Engine using the current Master branch (up to CL 2317977). I will let you know in a few minutes if I am able to build it successfully.
The build failed with error LNK2019: unresolved external symbol...
If you want to get a peek at what is coming in 4.5, we recommend using the 4.5 Preview instead of the Master branch. The 4.5 Preview is a little bit more stable than the Master branch, and you will have a much better of building it successfully. For actual project development, we recommend using the latest released version, 4.4.3.
I have been using Windows 10, and have built the engine from source. The master branch may not always compile, because it is meant for bleeding and changes and fixes. Instead, use the 4.5 branch, which is more stable.
Well, the issue is that i tried 4.5 branch. The more troubling is the fact that it compiled, and that issues just poped and kicked me out of nowhere.
That being said I’m still trying to find cause of it.
This issue was cause ONLY by compiling on system where ANY of drives was formatted as ReFS. What is more interesting it was caused ONLY when you I tried to compile from Visual Studio. When I run Build.bat directly with appropriate arguments, compilation worked without any issues.
My only guess is, that this issue was more cause of Visual Studio + ReFS file system, than unreal tool chain.