Skip to content

Powering Up The Engine

Nikola Kostadinov edited this page Nov 8, 2022 · 5 revisions

Power Up

Overview

In this page we will guide you how to install and set up the Dirac Engine. There are two ways to that. First the easy and conventional way:

Installation

  1. Go to the releases page.
  2. Choose your desired version of the engine. Latest is recommended.
  3. Download the dirac-<version>.zip file.
  4. Unzip the file wherever you like. Don't forget the path.

Set up

  1. Copy the ./Dirac and ./bin directories from where you installed Dirac
  2. Open the directory of your c++ project.
  3. Paste ./Dirac and ./bin in your c++ project.
  4. When compiling the project don't forget to append bin\dirac.dll to the make command. Example: g++ -o bin/main src/main.cpp bin\dirac.dll

The Hard Way

The second way to install and set up Dirac is to clone the source code and compile it. After you have cloned the Dirac repository make the library with make dirac command. Then copy everything from ./include and ./bin to your c++ project. When compiling your project don't forget to append bin\dirac.dll to the make command.

Clone this wiki locally