# Facing a Problem while building UE4 on Ubuntu 20.10

**URL:** <https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419>\
**Category:** Getting Started & Setup\
**Tags:** generateprojectfiles, linux-build, unreal-engine, Installation, question\
**Created:** [February 8, 2021, 6:10am UTC](https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419 "2021-02-08T06:10:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_70c2bb59](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_70c2bb59](https://forums.unrealengine.com/u/anonymous_user_70c2bb59)\
**Post date:** [February 8, 2021, 6:10am UTC](https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419/1 "2021-02-08T06:10:50Z")

</div>

I am trying to build UE4 on Ubuntu 20.10. I have cloned the GitHub repo and run the Setup.sh file successfully as per the instructions given.But when I run GenerateProjectFiles.sh, i get a bunch of warnings as shown in the screenshot below.

 ![329156-screenshot-from-2021-02-07-21-57-12.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/8/6f8212f3167bc1398be6a17eb3b0011290214914.png)

Also, after running this,when I run make command,I get an error as seen in the 2nd Image.

![329157-screenshot-from-2021-02-08-11-35-22.png]()

I am stuck at this step for hours and can’t figure anything out.I trying running the SetupToolchain.sh again but it has already installed successfully.

What should I do so that I solve this error?I also googled for tutorials and fixes but couldn’t find anything.

Specs :

 ![329158-screenshot-from-2021-02-08-11-39-32.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/e/77ef3125a5db89112390cd2cf7b967a723234cff.png)

---

<div class="post-metadata">

**Author:** ![Brandon.Schaefer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brandon.Schaefer](https://forums.unrealengine.com/u/Brandon.Schaefer)\
**Post date:** [February 9, 2021, 3:35am UTC](https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419/2 "2021-02-09T03:35:22Z")

</div>

Hello, can you be sure to check what github branch you synced was to the release branch and not the master branch?

Also make sure Engine/Build/BatchFiles/Linux/SetupToolchain.sh ran, which should place/download that SDK: Engine/Extras/AutoSDK/HostLinux/Linux\_x64/

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_70c2bb59](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_70c2bb59](https://forums.unrealengine.com/u/anonymous_user_70c2bb59)\
**Post date:** [February 9, 2021, 6:09am UTC](https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419/3 "2021-02-09T06:09:08Z")

</div>

I have cloned the Release Branch, I checked it again.

 ![329284-screenshot-from-2021-02-09-11-25-09.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/4/0e4f831adda4db87161574b133ca547586eaaed1.png)

Also,I checked the Engine/Extras/AutoSDK/HostLinux/Linux\_x64/ folder,it is showing the following folders, all of them have setup.sh and unsetup.sh files within them.

 ![329285-screenshot-from-2021-02-09-11-29-03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/5/745749ef4a804b85b8d84b25279266199a2c3388.png)

Is something that I am doing wrong?

---

<div class="post-metadata">

**Author:** ![qrev1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@qrev1](https://forums.unrealengine.com/u/qrev1)\
**Post date:** [March 26, 2021, 10:02pm UTC](https://forums.unrealengine.com/t/facing-a-problem-while-building-ue4-on-ubuntu-20-10/478419/4 "2021-03-26T22:02:08Z")

</div>

Hello Neeraj,

I have gotten those very same errors a couple of times before. I am not sure how it happens but (maybe inconsistent file state after a failed build?) I followed Michael Sartain’s instructions [here](https://answers.unrealengine.com/questions/1017417/view.html) to refresh the git repository without completely re-downloading it solved it for me. Also, try not to run the setup and build commands all on one line like so:

`./Setup.sh && ./GenerateProjectFiles.sh -MakeFile && make`

Instead break them up one-by-one. I found I was getting a command line prompt during `./Setup.sh` but was unable to answer it and that messed up the `./GenerateProjectFiles.sh` step. I hope this helps.
