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"

Engine in WSL environment

Has anyone run the engine in WSL environment after compiling through crosutils?

I have one issue after compiled it in any configuration

./UE4Editor-Linux-Debug: symbol lookup error: /mnt/e/Unreal Engine 4/Engine/Engine/Binaries/Linux/libUE4Editor-UnrealEd-Linux-Debug.so: undefined symbol: _Z50Z_Construct_UClass_UAnimPreviewInstance_NoRegisterv

on real linux system, after compiling through native binutils, i have no errors. But my primary develop platform are Windows and i prefer building here. And if it possible run in WSL it will be very comfortably to debug

Product Version: UE Github Master branch
more ▼

asked May 07 '19 at 06:32 PM in Installation & Setup

avatar image

23 3 4 8

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

1 answer: sort voted first

Did you cross-build it using our cross-toolchain? Maybe RPATHs got embedded wrong. Would you readelf -a libUE4Editor-UnrealEd-Linux-Debug.so and attach the output here?

more ▼

answered May 07 '19 at 06:34 PM

avatar image

2.7k 59 6 88

avatar image TehnoMag May 07 '19 at 07:24 PM

Yes. v13_clang-7.0.1-centos7

Engine - 4.22 from 4.22 branch

Visual Studio - Community 2019 16.0.3

WSL setup with Ubuntu 18.0.4 LTS from Market

addition packages for environment - gdb and binutils

I just rebuild engine to Editor Development configuration from scratch. Error is here. readelf output in attachment.link text

readelf.zip (2.9 MB)
avatar image TehnoMag May 07 '19 at 07:45 PM

One more thing. i found _Z50Z_Construct_UClass_UAnimPreviewInstance_NoRegisterv in libUE4Editor-AnimGraph.debug, so it`s seems function must be exported from there.

And yes

nm -D libUE4Editor-AnimGraph.so | grep Construct_UClass_UAnimPreviewInstance_NoRegister

00000000002ff040 T _Z50Z_Construct_UClass_UAnimPreviewInstance_NoRegisterv

avatar image RCL STAFF May 07 '19 at 11:47 PM

There's something wrong with the libUE4Editor-UnrealEd-Linux-Debug.so binary, since the bulk of DT_NEEDED entries are missing - it does not depend on any of the other editor libraries. Probably a bug in the FixDeps step of the cross-build process, which is different from the native build. Unfortunately there's no easy solution right now, but here's the number of JIRA that is tracking the issue: UE-68926

avatar image TehnoMag May 08 '19 at 05:17 AM

What about LD_PRELOAD ? or another workaround?

(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