Hello !
I have a C++ project working fine. If I include EngineUtils.h into my GameMode.cpp it simply breaks the build/compilation. I do not use anything from that header just simply includeing it in one line:
#include “EngineUtils.h”
The compile error below… How the inclusion of a hearder file can break the build ???
Thanks for any hint,
G
Info Performing 2 actions (4 in parallel)
Info SD5GameMode.cpp
Error C:\Program Files\Epic Games\4.7\Engine\Source\Runtime/Engine/Public/PixelFormat.h(66) : error C2059: syntax error : ‘constant’
Error C:\Program Files\Epic Games\4.7\Engine\Source\Runtime/Engine/Public/PixelFormat.h(66) : error C3805: ‘constant’: unexpected token, expected either ‘}’ or a ‘,’
Error C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\Engine\Public\EngineUtils.h(576) : error C2061: syntax error : identifier ‘FViewport’
Info -------- End Detailed Actions Stats -----------------------------------------------------------
Info ERROR: UBT ERROR: Failed to produce item: C:\Users\Gergely\Documents\Unreal Projects\SD5\Binaries\Win64\UE4Editor-SD5-3847.dll
Info Cumulative action seconds (8 processors): 0,00 building projects, 2,28 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
Info UBT execution time: 9,74 seconds