4.11.1 Build errors (related to Windows 8 Kit and data types)
Hello! The issue is related to building a project with 4.11.1 version. It worked with 4.9 and 4.11 but its not working after updating to 4.11.1. The error is related to compiling the project using h files from Windows 8 kit
UnrealBuildTool: Cube.generated.cpp MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Program Files (x86)\Windows Kits\8.1\include\shared\ws2def.h(249): error C2872: 'INT': ambiguous symbol MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(176): note: could be 'int INT'
There are more but in the same category. My take is Unreal thinks I'm using Windows 8 but I'm using Windows 7 and I always had.
Not sure where to start to try and find a workaround. One thing I want to mention is that the Editor Debug Symbols I installed separately after I Installed the Core of the engine. Not sure if this matter. There was no such error in the past and the build process worked fine.
asked Apr 15 '16 at 03:34 PM in Packaging & Deployment
Thank you for sticking with me on this. I rolled back so many versions that eventually I found the issue, there was some code (I haven't even using but put as a class in the project to adjust later) which included "Http.h" file which is part of the Windows kit. Sorry for the trouble, everything is fixed now on this part. Thank you again!
answered Apr 29 '16 at 01:20 AM
Reinstalled clean Unreal Engine 4.11.2 and the problem persists. I have no other Unreal version installed also. I would also like to mention I haven't included any windows specific h files or anything, there was no significant change in code from when it worked until it didn't.
Sadly, I cannot install 4.11 back, it only shows me the latest version with the latest hotfix to install, so I guess I will have to find a fix for it.
Similar problem had happened here https://answers.unrealengine.com/questions/133339/windows-kits-errors-preventing-build.html but with an older version.
One other thing I want to mention is that this happens on two different computers for the same project and it happened at the same time without installing anything new on those computers besides 4.11.1 (as far as we can tell).
Follow this question
Once you sign in you will be able to subscribe for any updates here