Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Installation

RealDoigt edited this page Nov 26, 2024 · 11 revisions

français

Installation

Setting up a DOOR project is not hard, but there are multiple ways to go about it.

A Warning About Using DOOR On Systems Other Than Linux

DOOR has never been tested on Windows, MacOS and others. Linux is the only officially supported platform. Please consider switching to Linux or using a Linux VM if you want official support.

Manually

The description of this method assumes the reader has sufficient technical knowledge.

  1. Make a folder for your project.
  2. Run the dub init command and install raylib-d 4.0.0
    • Alternatively, you can type dub add raylib-d@4.0.0 if you forgot do add the binding during the init process.
  3. Download the raylib binaries (version 4.0.0) for Linux.
  4. Unzip the contents and move the folders lib and include to the root level of your project folder.
    • If you want a shared setup, you'll obviously have to place the raylib folder elsewhere, in the usual place you put them on your system.
    • Depending on the setup you're going for, you may have to remove the .so files in the lib folder for the project to compile.
  5. Edit your dub.json or dub.sdl so that the raylib binaries are linked in properly.
  6. Download the DOOR source code from github. Put the folder from the zip inside the source folder of your project.
    • Alternatively, you may want to use dub's add-local command.
  7. Optionally, you could edit the .gitignore file at the root of your project to add source/DOOR/* if you didn't use add-local to install the DOOR library.
  8. You're done!

The native approach

  1. Install raylib-d using the official raylib-d installation guide.
  2. Install DOOR using dub (dub add DOOR).
  3. You're done!

Clone this wiki locally