I am trying to package third party plugin “kiss_fft”.
The source folder is :
Engine\Source\ThirdParty\Kiss_FFT\kiss_fft129\kiss_fft.h
I used something under the subfolder:
Engine\Source\ThirdParty\Kiss_FFT\kiss_fft129\tools\kiss_fftr.h
The build.cs I was using:
AddThirdPartyPrivateStaticDependencies(Target, "Kiss_FFT");
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D", "InputCore", "OnlineSubsystem", "OnlineSubsystemUtils", "Voice", "Kiss_FFT" });
The build works fine on windows, but whenever I package it to android, I got error on using any definition of sub folder header “tools\kiss_fftr.h” :
MainFrameActions: Packaging (Android (ETC1)): UnrealBuildTool:
D:/UE_projects/mcAudio1/Source/mcAudio1/mcAudio1Character.cpp:21: error: undefined reference to ‘kiss_fftr_alloc’
MainFrameActions: Packaging (Android (ETC1)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
Is there any setting I need to do for the subfolder header file or the sub folder doesn’t support android?
Thanks