# Cross Compiling to Linux for Raspberry Pi 2

**URL:** <https://forums.unrealengine.com/t/cross-compiling-to-linux-for-raspberry-pi-2/40103>\
**Category:** Platform & Builds\
**Tags:** Linux, unreal-engine\
**Created:** [August 29, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/cross-compiling-to-linux-for-raspberry-pi-2/40103 "2015-08-29T12:56:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMJ1980](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AMJ1980](https://forums.unrealengine.com/u/AMJ1980)\
**Post date:** [August 29, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/cross-compiling-to-linux-for-raspberry-pi-2/40103/1 "2015-08-29T12:56:56Z")

</div>

Hi folks.

I need some help getting my game to run on a Raspberry Pi 2.  
It is not a complex or demanding game, has only a handful of meshes, no lighting, just unlit emissive materials.  
I want to run it on the pi because I have built arcade hardware specific to the game that was previously running from a pc.  
Now I want it to be self contained.

I am running UE4 4.8 in windows.  
As per info found [here](https://wiki.unrealengine.com/Compiling_For_Linux):

I have downloaded and installed the ARM toolchain.  
I have created the LINUX\_ROOT in the environment variables.  
I restarted the engine (V4.8)  
I selected package \> Linux.  
THE GAME PACKAGED WITH 0 ERRORS.  
I regained conciousness.  
I transfered the output folder to the RasPi via USB  
I chmod +x the file in LinuxNoEditor\RedBat\_v\_Bluebat\Binaries\Linux via the terminal

When I click the file in Raspbian it asks if I want to execut or run in terminal but choosing either results in absolutely nothing happening.  
Much sadness.

If anyone can tell me what I am doing wrong I would be extremely happy.  
I dont mind someone pointing out a rookie error if it will result in getting the game to run.

I am open to alternatives such as running ubuntu / wine on the pi or running android on the pi if either is viable.  
Please post steps / links to tuts if you have any information.

Thanks!

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [August 29, 2015, 10:32pm UTC](https://forums.unrealengine.com/t/cross-compiling-to-linux-for-raspberry-pi-2/40103/2 "2015-08-29T22:32:54Z")

</div>

I don’t think it’s going to be able to run, Raspberry Pi just isn’t very powerful.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2abc45731](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2abc45731](https://forums.unrealengine.com/u/anonymous_user_2abc45731)\
**Post date:** [August 30, 2015, 2:49pm UTC](https://forums.unrealengine.com/t/cross-compiling-to-linux-for-raspberry-pi-2/40103/3 "2015-08-30T14:49:24Z")

</div>

> [@darthviper107;367533](#):
>
> I don’t think it’s going to be able to run, Raspberry Pi just isn’t very powerful.

I do remember them talking about it before…
