Hello, i want to add a new game module in my project, all seam to work, it compile and i’m able to add class to this new game module in the editor but when i try to lauch the game on my device (from the editor) the build fail with lot’s of error of type :
LogPlayLevel:
C:/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld:
error:
E:/UnrealProjects/Eora/Intermediate/Build/Android/UE4/Development/DtArchive/DTArchive.cppa7.o:
multiple definition of
‘GFNameTableForDebuggerVisualizers_MT’
LogPlayLevel:
C:/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld:
E:/UnrealProjects/Eora/Intermediate/Build/Android/UE4/Development/Eora/Eora.cppa7.o:
previous definition here
So it say to me that i’am defining NDK in both of my game module (the main game module and the one i added),
it makes sense but i’m not able to get ride of this, from where NDK is define? i though it was “using UnrealBuildTool” in build.cs files, i tryed to add something like this in .cs files:
#if !BuildToolAdded
#define BuildToolAdded
using UnrealBuildTool;
#endif
But that didn’t change anything, i tryed some more things (without conviction) and nothing worked. Soo i’m here with my problem and maybe you can help me.
In this file you’ll found screenShoots of my settings, the whole log file, and the files representing the project (.uproject and source folder) if that can help.
link text