Skip to content

Building from source

Jean-André Santoni edited this page Nov 14, 2019 · 4 revisions

Building Ludo from source is for developers and contributors.

Ubuntu and Debian

  • sudo apt install git go libopenal-dev xorg-dev
  • git clone --recursive https://github.com/libretro/ludo.git
  • cd ludo
  • go build
  • ./ludo

Red Hat, CentOS and Fedora

  • sudo yum install golang libopenal-soft-devel libX11-devel
  • git clone --recursive https://github.com/libretro/ludo.git
  • cd ludo
  • go build
  • ./ludo

Windows

  • Setup Git Bash
  • Setup Go
  • Setup MinGW-w64 and add it to your PATH
  • Download http://static.kivutar.me/openal-soft-1.19.0-bin.zip and extract it for example in C:
  • export CGO_CFLAGS="-I/c/openal-soft-1.19.0-bin/include/"
  • export CGO_LDFLAGS="-L/c/openal-soft-1.19.0-bin/build/Release/"
  • git clone --recursive https://github.com/libretro/ludo.git
  • cd ludo
  • go build
  • ./ludo

Mac OS X

  • Setup XCode
  • Setup Homebrew
  • brew install go openal-soft
  • git clone --recursive https://github.com/libretro/ludo.git
  • cd ludo
  • go build
  • ./ludo
Clone this wiki locally