Skip to content

sunzhen222/lvgl-sdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lvgl-sdl

Windows lvgl sdl demo. Using mingw toolchain.

Windows

Step 1. Setup environment (MSYS2 recommended)

Install MSYS2

https://www.msys2.org/

Setup environment variable

alt text

make sure ".../mingw64/bin" has higher priority than ".../usr/bin".

Step 2. Install mingw toolchain (MSYS2 recommended)

Update database

pacman -Syyu

Install GCC

pacman -S mingw-w64-x86_64-gcc

Install MAKE

pacman -S mingw-w64-x86_64-make

Install CMAKE

pacman -S mingw-w64-x86_64-cmake

Install SDL2

pacman -S mingw-w64-x86_64-SDL2

Step 3. Clone repository

Clone

git clone git@github.com:sunzhen222/lvgl-sdl.git
cd lvgl-sdl

lvgl Submodule

git submodule init
git submodule update

Step 4. Build and run

mkdir build
cd build
cmake .. -G "MinGW Makefiles"
cmake --build .
./lvgl-sdl.exe

or

./build.bat

About

Windows lvgl sdl demo. Using mingw toolchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published