This repository was archived by the owner on Aug 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
RealDoigt edited this page Nov 26, 2024
·
11 revisions
Setting up a DOOR project is not hard, but there are multiple ways to go about it.
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.
The description of this method assumes the reader has sufficient technical knowledge.
- Make a folder for your project.
- Run the
dub initcommand and install raylib-d 4.0.0- Alternatively, you can type
dub add raylib-d@4.0.0if you forgot do add the binding during the init process.
- Alternatively, you can type
- Download the raylib binaries (version 4.0.0) for Linux.
- Unzip the contents and move the folders
libandincludeto 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.
- Edit your dub.json or dub.sdl so that the raylib binaries are linked in properly.
-
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-localcommand.
- Alternatively, you may want to use dub's
- Optionally, you could edit the .gitignore file at the root of your project to add
source/DOOR/*if you didn't useadd-localto install the DOOR library. - You're done!
- Install raylib-d using the official raylib-d installation guide.
- Install DOOR using dub (
dub add DOOR). - You're done!