Download

Android build fails after adding enum

Hello,

I have added to my code enum, while it contains only quite simple struct. Project worked fine before on PC and Android. Now I am getting errors while launching/building on Android. Any idea why?


LogPlayLevel:Display: CommandUtils.Run: Run: D:\Program Files\Unreal Engine\4.5\Engine\Binaries\DotNET\UnrealBuildTool.exe Uprising Android Development  "D:\Development\Uprising 4.5\Uprising.uproject"  -noxge -rocket
LogPlayLevel:Display: UnrealBuildTool: Compiling with NDK API 'android-19'
LogPlayLevel:Display: UnrealBuildTool: Performing 3 actions (4 in parallel)
LogPlayLevel:Display: UnrealBuildTool: [2/3] clang++.exe UnitStuct.cpp [armv7-es2]
LogPlayLevel:Display: UnrealBuildTool: [1/3] clang++.exe Uprising.generated.cpp [armv7-es2]
LogPlayLevel:Display: UnrealBuildTool: In file included from D:/Development/Uprising 4.5/Intermediate/Build/Android/Uprising/Inc/Uprising/Uprising.generated.cpp:8:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Development\Uprising 4.5\Source\Uprising\Uprising.h:5:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Engine/Public\Engine.h:9:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Core/Public\Core.h:9:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Core/Public/HAL\Platform.h:62:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:/Development/Uprising 4.5/Source/Uprising/UnitStuct.cpp:3:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Development\Uprising 4.5\Source\Uprising\Uprising.h:5:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Engine/Public\Engine.h:9:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Core/Public\Core.h:9:
LogPlayLevel:Display: UnrealBuildTool: In file included from D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime/Core/Public/HAL\Platform.h:62:
LogPlayLevel:Display: UnrealBuildTool: D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatform.h(15,7) :  error: redefinition of 'SelectIntPointerType'
LogPlayLevel:Display: UnrealBuildTool: D:\Program Files\Unreal Engine\4.5\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatform.h(15,7) :  error: redefinition of 'SelectIntPointerType'

help please? :slight_smile: