This is the relevant Output Log:
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: [4/4] clang++.exe RobotDefenseCPP-armv7-es2.so
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime/Core/Public\Android/AndroidMisc.h:143: error: undefined reference to 'ABirdsEyePawn::MinBirdsEyeZoomIn'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime/Core/Public\Android/AndroidMisc.h:143: error: undefined reference to 'ABirdsEyePawn::MaxBirdsEyeZoomOut'
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\alljo\Documents\Unreal Projects\gameCPP\RobotDefenseCPP\Binaries\Android\RobotDefenseCPP-armv7-es2.so
UATHelper: Packaging (Android (ATC)): UnrealBuildTool: Total build time: 166,48 seconds
UATHelper: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 166,675688s to run UnrealBuildTool.exe, ExitCode=5
ABirdsEyePawn is a class, that I created and derives from ASpectatorPawn. MaxBirdsEyeZoomOut and -In are declared like this in the header file:
public:
static constexpr float MaxBirdsEyeZoomOut = 3.0f;
static constexpr float MinBirdsEyeZoomIn = 0.1f;
The only place, that these variables are used is in the following function:
void ABirdsEyePawn::UpdateZoom(float DeltaTime)
{
if (!ensure(SpringArm1)) { return; }
uint8 HalfStepNumber = ZoomingSteps / 2;
float Multiplicator = FMath::Lerp(
1.f,
(CurrentZoom > 0.f ? MaxBirdsEyeZoomOut : MinBirdsEyeZoomIn),
FMath::Abs(FMath::RoundToFloat(CurrentZoom) / (float)HalfStepNumber)
);
UpdateSpringArmLength(SpringArm1, DefaultArm1Length * Multiplicator, DeltaTime);
}
It would be great if anyone could help. I will update this post or leave a comment if I find out anything new regarding the issue.