lvgl / lv_port_linux

LVGL configured to work with a standard Linux framebuffer
MIT License
260 stars 160 forks source link

when I add the code in my linux systerm and cross compile , errors #32

Closed justdomyself closed 1 year ago

justdomyself commented 1 year ago

the error code like this:

/home/alientek/Desktop/alientek/ui/lv_drivers/display/fbdev.c:175:18: error: unknown type name ‘lv_disp_drv_t’ void fbdev_flush(lv_disp_drv_t drv, const lv_area_t area, lv_color_t * color_p)

kisvegabor commented 1 year ago

This repo is using LVGL v8, so be sure to use the lvgl and lv_drivers versions pointed by the submodules in this repo.

If you want to use lvgl master you just need to enable the frame buffer device in lv_conf.h and create a display with these functions.

justdomyself commented 1 year ago

thank you! I have resove my problem。