GDExtension in SteamOS

This mini tutorial is a dressing of the official GDExtension C++ example [0] for SteamOS.

  • enable read/write
    sudo steamos-readonly disable

  • install gcc compiler
    sudo pacman -S gcc

  • install c++ standart libraries
    sudo pacman -S base-devel glibc linux-api-headers

  • install scons
    sudo pacman -S scons

  • get Godot API metadata
    /var/lib/flatpak/exports/bin/org.godotengine.Godot --dump-extension-api

  • disable read/write
    sudo steamos-readonly enable

Have fun!

[0] GDExtension C++ example — Godot Engine (stable) documentation in English