Skip to content

Building

Introduction

To build ERA-3D from source, you must first install CMake.

After CMake is installed, follow the instructions for your operating system.

Configuring w64DevKit

To configure a building environment, it is recommended to install w64DevKit.

Run ...\w64devkit\w64devkit.exe to launch a shell environment for compiling C programs. All commands listed in the following instructions assume you are running w64devkit.exe.

Installing Nelua

Download the latest Nelua release and extract the files to a suitable install location.

Add the path containing nelua.bat to the Path environment variable.

Building ERA-3D

Clone the ERA-3D repository or download and extract everything from the source zip.

Enter the ERA-3D folder using the w64DevKit shell and run the following command:

./build.sh

If the build succeeded, you should now have era-3d.exe in the ERA-3D folder.

Copy era-3d.exe into your desired install location.

Installing Nelua

Follow the linux instructions for installing Nelua.

Building ERA-3D

Clone the ERA-3D repository or download and extract everything from the source zip.

Enter the ERA-3D/ directory and run the following command:

./build.sh

If the build succeeded, you should now have the era-3d executable in the ERA-3D/ folder.

Copy era-3d into your desired install location.