PC simulator project for LovyanGFX on linux with SDL
Clone the PC project and the related sub modules:
git clone --recursive https://github.com/Forairaaaaa/LGFX_Simulator_SDL.git
You can download SDL from https://www.libsdl.org/
On on Linux you can install it via terminal:
sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev
The following steps can be used with CMake on a Unix-like system. This may also work on other OSes but has not been tested.
-
Ensure CMake is installed, i.e. the
cmake
command works on the terminal. -
Make a new directory. The name doesn't matter but
build
will be used for this tutorial. -
Type
cd build
. -
Type
cmake ..
. CMake will generate the appropriate build files. -
Type
make
-
The binary will be in
./Play
, and can be run by typing that command.