Skip to content

Instantly share code, notes, and snippets.

@malduarte
Last active December 6, 2020 15:36
Show Gist options
  • Save malduarte/e7391d07ab038aa3fd1e8272fa266869 to your computer and use it in GitHub Desktop.
Save malduarte/e7391d07ab038aa3fd1e8272fa266869 to your computer and use it in GitHub Desktop.
godot build instructions for raspberry PI 4

Install dependencies

sudo apt install build-essential scons clang pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libfreetype6-dev libudev-dev libxi-dev libxrandr-dev yasm

Checkout godot

git clone https://github.com/godotengine/godot.git

cd godot

checkout supported version

git checkout 3.2.3-stable

build (don't hold your breath, this will take over 30m)

scons -j 6 platform=x11 module_webm_enabled=no tools=yes use_llvm=yes CCFLAGS="-mfpu=neon-vfpv4 -mfloat-abi=hard -mlittle-endian -munaligned-access"

Execute

bin/godot.x11.tools.64.llvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment