Hello everyone,
recently I decided to download UE4, but the compiling fails. My problem is the same like the one on this post:
https://forum.antergos.com/topic/7183/unreal-engine-aur-installation-and-manual-build which is marked as solved, but the guy doesn’t explain how did he fix it. As you may see, I did comment on that post and I didn’t get an answer, so that’s why I am starting a new topic. More info:

I am using gnome, I’m downloading the package with pacaur. The guy on the other post that I linked said that the compilation shouldn’t happen in a hidden folder, so I did export BUILDDIR = (some not hidden folder in home) but that didn’t fix it.

P.S. The installation steps in Unreal’s github also fail.

Thank you in advance!