Linux Installation of Unreal

I was following the steps in “Build Unreal From Source (Linux)” and I cannot figure out an error that I am getting. Here is the error:

error : /home/jackdecker/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mcs: 2: export: Files/WindowsApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__79rhkp1fndgsc:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/System32/Wbem:/mnt/c/windows/System32/WindowsPowerShell/v1.0/:/mnt/c/windows/System32/OpenSSH/:/mnt/c/Program: bad variable name
ERROR: Unable to compile source files.

Can anyone help me?

Going by the error I’d say it is trying to use parts of the Windows Build. I assume this is being done on a proper install and not WSL2 or a Virtual Machine?

I am doing this on wsl with ubuntu 18.04 and here is my path:

Let me know if you cannot see that image^

I wouldn’t expect it to work with WSL - I’ve had issues with GUI apps in WSL and only have VS Code running - mainly run .net core apps on it for testing.

I know there are others trying this but honestly, if you’re running Windows, use the Windows version. If you try and use WSL, it’s going to be slower anyway because it is virtualised.

If you are determined, then I think your best bet for questions like this is look through UE AnswerHub, or Unreal Slackers Discord.

So I am a little new to computer terminals. Should I install Windows Terminal and just use that? The title of the video says: Build Unreal From Source (Linux), so I thought I should be using wsl

Wait, if I have windows 10 working fine on my computer, am I supposed to skip this video all together?

Yes, sorry, I actually thought you were wanting to build the Linux version. That’s actually just for Linux OS users and not for Windows or mac users.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.