程式語言 - LVGL - 開發環境



參考資訊:
https://docs.lvgl.io/master/
https://github.com/lvgl/lvgl
https://docs.lvgl.io/master/details/integration/driver/sdl.html

步驟如下:

$ cd
$ git clone https://github.com/lvgl/lvgl --recursive
$ cd lvgl
$ mkdir build
$ vim lv_conf.h
    #define LV_USE_SDL 1
    #define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
    #define SDL_HOR_RES 320
    #define SDL_VER_RES 240

$ cd build
$ cmake ..
$ make -j4
$ sudo make install