# Linux (Ubuntu) : Couldn't find platform name

**URL:** <https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642>\
**Category:** Platform & Builds\
**Tags:** UE4-5, make, Linux, unreal-engine, generate-project-fil, Installation, question\
**Created:** [October 8, 2014, 9:40pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642 "2014-10-08T21:40:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtritell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtritell](https://forums.unrealengine.com/u/jtritell)\
**Post date:** [October 8, 2014, 9:40pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/1 "2014-10-08T21:40:22Z")

</div>

I am following the Linux Guide

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

On executing `GenerateProjectFiles.sh` , I get no error messages, but a Makefile does not get built.

I run `Engine/Build/BatchFiles/Linux/Build.sh`,

returning

```
Building ...
Using clang version '3.3' (string), 3 (major), 3 (minor), -1 (patch)
UnrealBuildTool Exception: ERROR: Couldn't find platform name.

```

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [October 8, 2014, 9:47pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/2 "2014-10-08T21:47:39Z")

</div>

You shouldn’t run Build.sh directly (the URL in question no longer mentions that BTW). If you for some reason you want to call that scripts, it expects three parameters: project target, platform and configuration, e.g. UE4Editor Linux Debug.

What’s the output of GenerateProjectFiles.sh? It should run successfully, because apart of generating the makefiles it also downloads the dependencies, which are required for the build.

---

<div class="post-metadata">

**Author:** ![jtritell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtritell](https://forums.unrealengine.com/u/jtritell)\
**Post date:** [October 8, 2014, 9:55pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/3 "2014-10-08T21:55:41Z")

</div>

Github build  
Checking / downloading the latest archives

```
Asset Optional.zip up to date
Asset Required_1of2.zip up to date
Asset Required_2of2.zip up to date

All assets are up to date, not unpacking zip files again.

Building ThirdParty libraries
==> BuildLND

```

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [October 8, 2014, 9:57pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/4 "2014-10-08T21:57:07Z")

</div>

So building LinuxNativeDialogs fails… Please take a look into Engine/Build/BatchFiles/BuildThirdParty.log and post it here if you cannot determine the problem (just last N lines with error perhaps).

---

<div class="post-metadata">

**Author:** ![jtritell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtritell](https://forums.unrealengine.com/u/jtritell)\
**Post date:** [October 8, 2014, 10:05pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/5 "2014-10-08T22:05:58Z")

</div>

CMake Error at /usr/lib/x86\_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:27 (message):  
The imported target “Qt5::Gui” references the file

```
     "/usr/lib/x86_64-linux-gnu/libEGL.so"

  but this file does not exist. Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:23 (_qt5_Gui_check_file_exists)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:49 (_qt5gui_find_extra_libs)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:155 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
  CMakeLists.txt:7 (find_package)

```

however the file does exist

```
ls /usr/lib/x86_64-linux-gnu/libEGL.so 
/usr/lib/x86_64-linux-gnu/libEGL.so

```

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [October 8, 2014, 11:17pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/6 "2014-10-08T23:17:14Z")

</div>

Try building against Qt4 or GTK(2,3).

---

<div class="post-metadata">

**Author:** ![jtritell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtritell](https://forums.unrealengine.com/u/jtritell)\
**Post date:** [October 9, 2014, 12:31am UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/7 "2014-10-09T00:31:47Z")

</div>

that works, but It’s still failing on FBX

- mono Binaries/DotNET/UnrealBuildTool.exe -makefile  
Using clang version ‘3.3’ (string), 3 (major), 3 (minor), -1 (patch)  
Binding IntelliSense data… 0%FBX SDK not found in ThirdParty/FBX/2014.2.1/lib/linux/x86\_64-unknown-linux-gnu  
ERROR: Exception thrown while processing dependent modules of Launch  
Exception thrown while processing dependent modules of Engine  
Exception thrown while processing dependent modules of LogVisualizer  
Exception thrown while processing dependent modules of UnrealEd  
Exception thrown while processing dependent modules of AnimGraph  
Exception thrown while processing dependent modules of GraphEditor  
Exception thrown while processing dependent modules of KismetWidgets  
Exception thrown while processing dependent modules of BlueprintGraph  
Exception thrown while processing dependent modules of KismetCompiler  
Exception thrown while processing dependent modules of MovieSceneTools  
Exception thrown while processing dependent modules of AssetTools  
Exception thrown while processing dependent modules of DestructibleMeshEditor  
ERROR: Unable to instantiate instance of ‘FBX’ object type from compiled assembly ‘ProjectFileGeneratorModuleRules’. Unreal Build Tool creates an instance of your module’s ‘Rules’ object in order to find out about your module’s requirements. The CLR exception details may provide more information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —\> ERROR: FBX SDK not found in ThirdParty/FBX/2014.2.1/lib/linux/x86\_64-unknown-linux-gnu

---

<div class="post-metadata">

**Author:** ![jtritell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtritell](https://forums.unrealengine.com/u/jtritell)\
**Post date:** [October 13, 2014, 10:00pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/8 "2014-10-13T22:00:33Z")

</div>

retried successfully, closing the issue.

---

<div class="post-metadata">

**Author:** ![UtahPaul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UtahPaul](https://forums.unrealengine.com/u/UtahPaul)\
**Post date:** [March 25, 2015, 2:41pm UTC](https://forums.unrealengine.com/t/linux-ubuntu-couldnt-find-platform-name/295642/9 "2015-03-25T14:41:34Z")

</div>

I ran into the same CMake error that libEGL.so does not exist attempting to build with Qt5.

My problem was that my symbolic link for libEGL.so (and libGL.so) is invalid. “ls” shows the files as existing, but “ls -L” attempts to follow the link and the linked file does not exist. “ls -l” shows what file the symbolic link is attempting to link to. I found the files the symbolic links were attempting to link to (e.g., “libEGL.so.1.0.0”) had no path information and were not in the current directory. I changed the symbolic link to include a directory path and the makes work.

/usr/lib64/libEGL.so now links to (-\>) /usr/lib/libEGL.so.1.0.0 (previously symbolic link did not include “/usr/lib” path)  
/usr/lib64/libGL.so now links to (-\>) /usr/lib/libGL.so.1.2.0
