|
|
2 ani în urmă | |
|---|---|---|
| .. | ||
| LICENSE | 3 ani în urmă | |
| README.md | 3 ani în urmă | |
| lv_sdl_drv_display.c | 2 ani în urmă | |
| lv_sdl_drv_display.h | 3 ani în urmă | |
| lv_sdl_drv_input.c | 2 ani în urmă | |
| lv_sdl_drv_input.h | 3 ani în urmă | |
A crossplatform SDL wrapper for the Light and Versatile Graphics Library https://lvgl.io/.
stdio.h for file access.In your git repo:
git submodule add https://github.com/Ryzee119/lvgl-sdl.gitcd lvgl-sdl && git submodule init && git submodule updatelv_conf.h from lvgl-sdl folder and place it into your project. Configure CMakeList/Makefile to set LV_CONF_PATH to point to your `lv_conf.hlv_ex_conf.h to change which demo to run.git clone https://github.com/Ryzee119/lvgl-sdl.git --recursive.apt install libsdl2-dev
cd example/
mkdir build
cd build
cmake ..
cmake --build .
./lvgl_example
Install MYSYS2, then from a mingw64 environment:
pacman -S mingw-w64-x86_64-make \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-SDL2
cd example/
mkdir build && cd build
cmake .. -G "MinGW Makefiles"
cmake --build .
./lvgl_example.exe
Setup and install nxdk.
Run the activate script in nxdk/bin
cd example/
make -f Makefile.nxdk