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"

Additional linker arguments in 4.16?

One of our internal libraries links to FreeType which causes linker errors due to the duplicate symbols in UnrealEngine. Prior to 4.16 we could add the "/FORCE:MULTIPLE" linker flag via TargetRules.SetupGlobalEnvironment and OutLinkEnvironmentConfiguration.AdditionalArguments but this is no longer possible in 4.16 due to the build system updates. I can't find any way to accomplish this with the current system since most of the members of LinkEnvironment{Configuration} are no longer exposed to targets. Am I missing something? Do I need to modify TargetRules and WindowsPlatform to get the same functionality?

Product Version: UE 4.16
Tags:
more ▼

asked Jun 05 '17 at 10:50 PM in C++ Programming

avatar image

Qartar
18 2 7

avatar image State128 Jun 22 '17 at 08:13 AM

I think we have a similiar problem but with Shipping and logging. in 4.15 it worked to have it like this in our target file:

  public override void SetupGlobalEnvironment(
             TargetInfo Target,
             ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
             ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
             )
     {
         OutCPPEnvironmentConfiguration.Definitions.Add("USE_LOGGING_IN_SHIPPING=1");
         UEBuildConfiguration.bUseLoggingInShipping = true;
 }

But now it doesn't work anymore, some1 got a clue?

avatar image xDPa Mar 31 '18 at 02:08 PM

Same Problem with /WHOLEARCHIVE here ...

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Any luck with this? I'm having the same issue and need to use the /FORCE:MULTIPLE option.

more ▼

answered Oct 06 '17 at 11:06 AM

avatar image

rdalton
1 1

(comments are locked)
10|2000 characters needed characters left
Your answer
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