Learning gameEngine-dev using TheCherno's Game Engine series
First clone the repository with git clone --recursive <URL>.
Note: If the repository has already been cloned non-recursively, use
git submodule update --initto clone the necessary submodules. AnEngine uses thePremake 5build system. Follow these instructions to install it.
AnEngine works best using Visual Studio 2022. To generate the .sln and .vcxproj files, run premake vs2022 in the root directory of the repository.
AnEngine has extra dependencies on Linux. These development packages are needed:
libxcursorlibxrandrlibxineramalibxilibglew
AnEngine also requires versions of gcc and g++ that support C++20 (gcc and g++ >= 10).
On apt-based distros, these can be installed by running:
sudo apt install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libglew-dev
AnEngine can then be configured and compiled with:
premake5 gmake2 make