Installation
FELINE requires specific software dependencies for installation and operation. Please follow the instructions below to set up the environment for FELINE:
Prerequisites
Ensure the following software is installed on your system:
python 3.x(minimum version 3.8)python3.x-devpackagepython3.x-venvpackageA C/C++ compiler, such as
clang(recommended due to a significant performance boost compared to gcc) orgccSDL2(Optional: Needed for graphical output during runtime)
Setup Instructions
Note
clang, make sure native clang is installed (brew install clang) since Apple’s Clang doesn’t support openmp. Secondly, you need libomp, e.g., brew install libomp.gcc, only need to adjust the following Makefile lines:[1] CC = gcc-<version>[2] CFLAGS = -O3 -ffast-math -fopenmp -g -std=c99clang, you only need to install libomp-dev, e.g., apt install libomp-dev.gcc, only need to adjust the following Makefile lines:[1] CC = gcc[2] CFLAGS = -O3 -ffast-math -fopenmp -g -std=c99Clone the repository: Clone the FELINE repository to your local machine:
git clone git@github.com:enthusi/feline.git cd feline
Set up a virtual environment: Create and activate a virtual environment for Python:
python3 -m venv venv source venv/bin/activate
Install dependencies: Install the required Python packages listed in
requirements.txt:pip install -r requirements.txt
Build the program: Compile the main FELINE binary:
make
Note
For SDL Usage: By default the Makefile activates SDL if it is available.If you want to disable SDL you need to add the following macro to the make command:make SDLavailable=0