Skip to content

Latest commit

 

History

History
86 lines (73 loc) · 2.11 KB

system-requirements.md

File metadata and controls

86 lines (73 loc) · 2.11 KB

System Requirements

Build Requirements

Windows Requirements

Installing Scons

With Python 3.6+ installed, you can install Scons through pip:

python -m pip install scons

If you get Defaulting to user installation because normal site-packages is not writeable then open a command prompt as Administrator and run the command again. When finished call:

scons --version

to ensure that you are using a correct version of Scons.

Installing Visual Studio

Ensure that if you install from Visual Studio 2017, 2019 or 2022, ensure you're installing the C++ tools.

If you're installing Visual Studio 2015, ensure you choose custom and pick C++ as the language.

Linux Requirements

  • GCC 12.3+
    • For Ubuntu 22.04, you need to manually install g++-12 and set that version as active

Debian/Ubuntu Linux Install

apt-get install \
  build-essential \
  scons \
  pkg-config \
  libx11-dev \
  libxcursor-dev \
  libxinerama-dev \
  libgl1-mesa-dev \
  libglu-dev \
  libasound2-dev \
  libpulse-dev \
  libudev-dev \
  libxi-dev \
  libxrandr-dev \
  g++-12

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
update-alternatives --set g++ /usr/bin/g++-12

Arch Linux Requirements

pacman -S --needed \
  scons \
  pkgconf \
  gcc \
  libxcursor \
  libxinerama \
  libxi \
  libxrandr \
  mesa \
  glu \
  libglvnd \
  alsa-lib \
  pulseaudio

macOs Requirements

Homebrew

brew install scons

MacPorts

sudo port install scons

Credit: Godot Docs