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
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?
One more thing.
i found _Z50Z_Construct_UClass_UAnimPreviewInstance_NoRegisterv in libUE4Editor-AnimGraph.debug, so it`s seems function must be exported from there.
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