Component | Version | Note |
---|---|---|
lvgl | 8.3.7 | |
lv_drivers | 8.3.0 |
- Linux(GCC)
- MacOS(GCC)
- Windows(MinGW)
- Install a compiler and related tools if you don't have them yet:
- On Windows MinGW can be a good choice
- On Linux type in the Terminal:
sudo apt-get install gcc g++ gdb build-essential
- On MacOS install latest Xcode
- Install SDL (required to simulate a display)
- On Windows see for example this guide
- On Linux
sudo apt-get install libsdl2-dev
- On MacOS install for example via Homebrew:
brew install sdl2
(To install Homebrew follow the guide here)brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_ttf
- Download and Install Visual Studio Code from [https://code.visualstudio.com/download])
- Linux
- gcc
- make/ninja-build
- CMake
- SDL2
- MacOS
- gcc
- make/ninja-build
- CMake
- SDL2
- Windows
- gcc
- make/ninja-build
- CMake
- SDL2
Use make
cmake -B build
cmake --build build --config Release
Or use ninja
cmake -G Ninja -B build
cmake --build build --config Release
# cd buid dir
./lvgl_app
- C/C++
- CMake
- CodeLLDB