xlocale.h not found on Linux
The xlocale header isn't being found.
asked Sep 10 '17 at 11:34 PM in Bug Reports
I think that is is best if the symbol link was place here
UnrealEngine/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1> ln -s /usr/include/locale.h xlocale.h
This way you are not corrupting your host system. You never know how it will affect your system sometime in the future
answered Oct 06 '17 at 09:18 AM
i have the same issue. this helped me to move further:
they say xlocale.h is threadsafe version of locale.h; hope locale.h is fine too.
answered Sep 11 '17 at 12:55 PM
Recompile the editor. Everything should work as intended.
The long answer:
The issue is with the glibc update
Not sure how why and when they decided to start dropping header files from glibc but hey, warning would be nice.
Not an UE4 Issue per se, but more of an bleeding edge issue.
By the way, there are several bugs created for this https://bugzilla.redhat.com/show_bug.cgi?id=1464244
Maybe a PR for the engine is in order as this seems to be a trend to remove the xlocale.h and would affect other distributions soon enough
Here is the glibc commit: https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b6336db7492e47d2e8e72eb8af53b5506d
As an addition to previous answers I can tell there is a UE4_LINUX_USE_LIBCXX environment variable. Just
before build and UBT will use system glibc++ instead of shipped one.
BTW. there is a commit in 4.18 branch which fixes the problem.
Surprisingly commenting out the include statement in:
worked for me.. Looks like other headers that are included already provide what is needed.
answered Nov 11 '17 at 12:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here