Just trying to update my project to use 4.27.2. I downloaded the editor version and tried to open my project with it. It showed a popup asking me to rebuild binaries, when I said yes, it said there was errors and I have to rebuild myself from source.
Went into Rider, tried to build, I got a bunch of errors about missing precompiled flags. The only way I was able to build is to include those flags in my Build.cs
ApexDefs.h(54): [C4668] 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
ApexDefs.h(54): [C4668] 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
ApexDefs.h(54): [C4668] 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
ApexDefs.h(54): [C4668] 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
ApexDefs.h(54): [C4668] 'USE_RTTI' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
Platform.h(1085): [C4005] see previous definition of 'TEXT'
winioctl.h(10229): [C4668] '_WIN32_WINNT_WIN10_TH2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10235): [C4668] '_WIN32_WINNT_WIN10_RS1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10240): [C4668] '_WIN32_WINNT_WIN10_TH2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10244): [C4668] '_WIN32_WINNT_WIN10_TH2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10251): [C4668] '_WIN32_WINNT_WIN10_RS2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10261): [C4668] '_WIN32_WINNT_WIN10_RS2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10265): [C4668] '_WIN32_WINNT_WIN10_TH2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10270): [C4668] '_WIN32_WINNT_WIN10_RS3' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10277): [C4668] '_WIN32_WINNT_WIN10_RS4' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10280): [C4668] '_WIN32_WINNT_WIN10_RS1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10283): [C4668] '_WIN32_WINNT_WIN10_RS4' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10288): [C4668] '_WIN32_WINNT_WIN10_RS1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10291): [C4668] '_WIN32_WINNT_WIN10_RS5' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10486): [C4668] '_WIN32_WINNT_WIN10_RS2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(10510): [C4668] '_WIN32_WINNT_WIN10_RS5' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(13950): [C4668] '_WIN32_WINNT_WIN10_RS5' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15111): [C4668] '_WIN32_WINNT_WIN10_RS3' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15128): [C4668] '_WIN32_WINNT_WIN10_RS3' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15147): [C4668] '_WIN32_WINNT_WIN10_RS2' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15266): [C4668] '_WIN32_WINNT_WIN10_RS3' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15416): [C4668] '_WIN32_WINNT_WIN10_RS4' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15429): [C4668] '_WIN32_WINNT_WIN10_RS4' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
winioctl.h(15657): [C4668] '_WIN32_WINNT_WIN10_RS1' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
Microsoft.MakeFile.targets(45, 5): [MSB3073] The command "I:\UnrealEngine\UE_4.27\Engine\Build\BatchFiles\Build.bat IOUEditor Win64 Development -Project="I:\UnrealProjects\IOU\IOU\IOU.uproject" -WaitMutex -FromMsBuild" exited with code 6.
I do not have any “Windows.h” includes or any direct standard library headers like some of the other posts mentioned. I merely just upgraded to 4.27.2. I Tried deleting Binaries, Intermediate, Regenerating Project Files, to no avail.
Project was building just fine with 4.26.2. Why is this happening now? Why do I need to add those flags now? How do I properly fix this?
Thanks!