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. 

UE toolchain needs to include -lsupc++

Currently it is not possible to package UE project in Linux if it uses any library (such as rpclib) that uses thread local variables.. Even though this is perfectly valid thing to do in C++11, you will end up with following error spitted out by Unreal Build Tool:

 ATHelper: Packaging (Linux): UnrealBuildTool: /data/UnrealProjects/Blocks/Plugins/AirSim/Source/AirLib/deps/rpclib/lib/librpc.a(this_handler.cc.o): In function rpc::this_handler()': UATHelper: Packaging (Linux): UnrealBuildTool: /home/user/Research/AirSim/external/rpclib/lib/rpc/this_handler.cc:10: undefined reference to__cxa_thread_atexit'

The solution to this is described in this StackOverflow thread which is basically make sure you include linker flag -lsupc++. Would it be possible to update Unreal Build tool with this change?

Related issue on rpclib

Related issue on AirSim

Product Version: UE 4.18
more ▼

asked Nov 09 '17 at 09:56 PM in Linux

avatar image

251 17 31 47

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

1 answer: sort voted first

You can include PublicAdditionalLibraries.Add("subpc++") in your Build.cs file if you're fine with relying on a system version of the library.

Note that Unreal uses thread local variables and functions like __cxa_thread_atexit should be provided by libc++abi.a. Does this error happen only when you are using libstdc++?

more ▼

answered Nov 09 '17 at 10:05 PM

avatar image

2.7k 59 6 88

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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