x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to solve NDK's multiple definition while adding a new game module?

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

Product Version: UE 4.20
Tags:
help.zip (138.7 kB)
more ▼

asked Oct 02 '18 at 11:25 AM in Packaging & Deployment

avatar image

ElFab
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question