Cannot compile with LVGL libraries crowpanel-esp32-7.0
Hi,
I bought a 7'' crowpanel I use ArduinoIDE 2.2. 2 to program and compile while I wanted to use the LVGL libraries.
I followed any tutorial spent hours to compile and make it work, of course the Hello World works, but I wanted to use those libraries to create a decent graphics for my project.
Any compilation with this panel fails, only some projects without lvgl work, I'm really exhausted by the thousand compilations with always the same error result and it doesn't continue as indicated in the elecrow wiki:
I followed this link:
I added the libraries contained in the zip but this is the compiler result:
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.c: In function 'ui_event_Button1':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.c:37:16: warning: unused variable 'target' [-Wunused-variable]
37 | lv_obj_t * target = lv_event_get_target(e);
| ^~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.c: In function 'ui_event_Button2':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.c:45:16: warning: unused variable 'target' [-Wunused-variable]
45 | lv_obj_t * target = lv_event_get_target(e);
| ^~
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp_hook.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_Screen1.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp_button2.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp_button2.c: In function 'ui_Button2_create':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp_button2.c:24:28: warning: implicit declaration of function 'lv_mem_alloc'; did you mean 'lv_realloc'? [-Wimplicit-function-declaration]
24 | lv_obj_t ** children = lv_mem_alloc(sizeof(lv_obj_t *) * _UI_COMP_BUTTON2_NUM);
| ^~~~
| lv_realloc
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp_button2.c:24:28: warning: initialization of 'lv_obj_t **' from 'int' makes pointer from integer without a cast [-Wint-conversion]
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c: In function 'ui_comp_get_child':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c:22:19: warning: passing argument 1 of 'lv_event_send' from incompatible pointer type [-Wincompatible-pointer-types]
22 | lv_event_send(comp, LV_EVENT_GET_COMP_CHILD, &info);
| ^~~~
| |
| lv_obj_t *
In file included from /home/path/arduino/libraries/lvgl/src/../src/core/../display/lv_display.h:18,
from /home/path/arduino/libraries/lvgl/src/../src/core/lv_obj_tree.h:18,
from /home/path/arduino/libraries/lvgl/src/../src/core/lv_obj.h:24,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:39:
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:45: note: expected 'lv_event_list_t *' {aka 'lv_array_t *'} but argument is of type 'lv_obj_t *'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~^~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c:22:25: warning: passing argument 2 of 'lv_event_send' makes pointer from integer without a cast [-Wint-conversion]
22 | lv_event_send(comp, LV_EVENT_GET_COMP_CHILD, &info);
| ^~~~~~~
| |
| uint32_t {aka long unsigned int}
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:64: note: expected 'lv_event_t *' but argument is of type 'uint32_t' {aka 'long unsigned int'}
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~~^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c:22:5: warning: the address of 'info' will always evaluate as 'true' [-Waddress]
22 | lv_event_send(comp, LV_EVENT_GET_COMP_CHILD, &info);
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c: In function 'del_component_child_event_cb':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_comp.c:36:5: warning: implicit declaration of function 'lv_mem_free' [-Wimplicit-function-declaration]
36 | lv_mem_free(c);
| ^~~
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_on_png.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_on_png.c:115:3: error: 'b' undeclared here (not in a function)
115 | b .header.always_zero = 0,
| ^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_on_png.c:119:18: error: 'LV_IMG_CF_TRUE_COLOR_ALPHA' undeclared here (not in a function)
119 | .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
| ^~~~~~
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_off_png.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_off_png.c:115:13: error: 'lv_image_header_t' has no member named 'always_zero'
115 | .header.always_zero = 0,
| ^~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_off_png.c:119:18: error: 'LV_IMG_CF_TRUE_COLOR_ALPHA' undeclared here (not in a function)
119 | .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
| ^~~~~~
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c: In function '_ui_arc_increment':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:68:19: warning: passing argument 1 of 'lv_event_send' from incompatible pointer type [-Wincompatible-pointer-types]
68 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~
| |
| lv_obj_t *
In file included from /home/path/arduino/libraries/lvgl/src/../src/core/../display/lv_display.h:18,
from /home/path/arduino/libraries/lvgl/src/../src/core/lv_obj_tree.h:18,
from /home/path/arduino/libraries/lvgl/src/../src/core/lv_obj.h:24,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:39:
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:45: note: expected 'lv_event_list_t *' {aka 'lv_array_t *'} but argument is of type 'lv_obj_t *'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~^~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:68:27: warning: passing argument 2 of 'lv_event_send' makes pointer from integer without a cast [-Wint-conversion]
68 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~~~~~
| |
| int
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:64: note: expected 'lv_event_t *' but argument is of type 'int'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~~^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c: In function '_ui_slider_increment':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:81:19: warning: passing argument 1 of 'lv_event_send' from incompatible pointer type [-Wincompatible-pointer-types]
81 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~
| |
| lv_obj_t *
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:45: note: expected 'lv_event_list_t *' {aka 'lv_array_t *'} but argument is of type 'lv_obj_t *'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~^~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:81:27: warning: passing argument 2 of 'lv_event_send' makes pointer from integer without a cast [-Wint-conversion]
81 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~~~~~
| |
| int
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:64: note: expected 'lv_event_t *' but argument is of type 'int'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~~^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c: In function '_ui_anim_callback_free_user_data':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:122:5: warning: implicit declaration of function 'lv_mem_free' [-Wimplicit-function-declaration]
122 | lv_mem_free(a->user_data);
| ^~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c: In function '_ui_spinbox_step':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:248:19: warning: passing argument 1 of 'lv_event_send' from incompatible pointer type [-Wincompatible-pointer-types]
248 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~
| |
| lv_obj_t *
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:45: note: expected 'lv_event_list_t *' {aka 'lv_array_t *'} but argument is of type 'lv_obj_t *'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~^~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_helpers.c:248:27: warning: passing argument 2 of 'lv_event_send' makes pointer from integer without a cast [-Wint-conversion]
248 | lv_event_send(target, LV_EVENT_VALUE_CHANGED, 0);
| ^~~~~~
| |
| int
/home/path/arduino/libraries/lvgl/src/../src/core/../display/../misc/lv_event.h:124:64: note: expected 'lv_event_t *' but argument is of type 'int'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~~^
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:2:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:100:8: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_buf_t'?
100 | static lv_disp_draw_buf_t draw_buf;
| ^~~~~~
| lv_draw_buf_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:103:8: error: 'lv_disp_drv_t' does not name a type; did you mean 'lv_fs_drv_t'?
103 | static lv_disp_drv_t disp_drv;
| ^~~~~
| lv_fs_drv_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:6: error: variable or field 'my_disp_flush' declared void
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:20: error: 'lv_disp_drv_t' was not declared in this scope; did you mean 'lv_fs_drv_t'?
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
| lv_fs_drv_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:35: error: 'disp' was not declared in this scope
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:41: error: expected primary-expression before 'const'
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:75: error: expected primary-expression before '*' token
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:76: error: 'color_p' was not declared in this scope
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:6: error: variable or field 'my_touchpad_read' declared void
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:23: error: 'lv_indev_drv_t' was not declared in this scope; did you mean 'lv_indev_data_t'?
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~~~
| lv_indev_data_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:39: error: 'indev_driver' was not declared in this scope
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:69: error: expected primary-expression before '*' token
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:70: error: 'data' was not declared in this scope; did you mean 'std::data'?
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
| std::data
In file included from /home/raschi.diego/.arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/unordered_map:42,
from /home/raschi.diego/.arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/functional:63,
from /home/raschi.diego/.arduino15/packages/esp32/hardware/esp32/3.1.3/cores/esp32/HardwareSerial.h:49,
from /home/raschi.diego/.arduino15/packages/esp32/hardware/esp32/3.1.3/cores/esp32/Arduino.h:203,
from /tmp/arduino/sketches/472F0B3BB32A22F51C9D1E9D78D2E5D0/sketch/crowpanel-esp32-7.0.ino.cpp:1:
/home/raschi.diego/.arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/range_access.h:346:5: note: 'std::data' declared here
346 | data(initializer_list<_Tp> __il) noexcept
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:6: error: variable or field 'my_disp_flush' declared void
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:20: error: 'lv_disp_drv_t' was not declared in this scope; did you mean 'lv_fs_drv_t'?
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
| lv_fs_drv_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:35: error: 'disp' was not declared in this scope
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:41: error: expected primary-expression before 'const'
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:75: error: expected primary-expression before '*' token
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:106:76: error: 'color_p' was not declared in this scope
106 | void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)
| ^~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:6: error: variable or field 'my_touchpad_read' declared void
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:23: error: 'lv_indev_drv_t' was not declared in this scope; did you mean 'lv_indev_data_t'?
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~~~
| lv_indev_data_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:39: error: 'indev_driver' was not declared in this scope
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:69: error: expected primary-expression before '*' token
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:124:70: error: 'data' was not declared in this scope; did you mean 'std::data'?
124 | void my_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
| std::data
/home/raschi.diego/.arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/range_access.h:346:5: note: 'std::data' declared here
346 | data(initializer_list<_Tp> __il) noexcept
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino: In function 'void setup()':
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:240:26: error: 'draw_buf' was not declared in this scope
240 | lv_disp_draw_buf_init(&draw_buf, disp_draw_buf, NULL, screenWidth * screenHeight / 15); //4
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:240:3: error: 'lv_disp_draw_buf_init' was not declared in this scope; did you mean 'lv_draw_buf_init'?
240 | lv_disp_draw_buf_init(&draw_buf, disp_draw_buf, NULL, screenWidth * screenHeight / 15); //4
| ^~~~~
| lv_draw_buf_init
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:243:21: error: 'disp_drv' was not declared in this scope
243 | lv_disp_drv_init(&disp_drv);
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:243:3: error: 'lv_disp_drv_init' was not declared in this scope; did you mean 'lv_fs_drv_init'?
243 | lv_disp_drv_init(&disp_drv);
| ^~~~
| lv_fs_drv_init
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:247:23: error: 'my_disp_flush' was not declared in this scope
247 | disp_drv.flush_cb = my_disp_flush;
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:249:3: error: 'lv_disp_drv_register' was not declared in this scope; did you mean 'lv_fs_drv_register'?
249 | lv_disp_drv_register(&disp_drv);
| ^~~~~~~~
| lv_fs_drv_register
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:252:10: error: 'lv_indev_drv_t' does not name a type; did you mean 'lv_indev_data_t'?
252 | static lv_indev_drv_t indev_drv;
| ^~~~~~
| lv_indev_data_t
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:253:22: error: 'indev_drv' was not declared in this scope
253 | lv_indev_drv_init(&indev_drv);
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:253:3: error: 'lv_indev_drv_init' was not declared in this scope; did you mean 'lv_fs_drv_init'?
253 | lv_indev_drv_init(&indev_drv);
| ^~~~~
| lv_fs_drv_init
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:255:23: error: 'my_touchpad_read' was not declared in this scope
255 | indev_drv.read_cb = my_touchpad_read;
| ^~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:256:3: error: 'lv_indev_drv_register' was not declared in this scope; did you mean 'lv_fs_drv_register'?
256 | lv_indev_drv_register(&indev_drv);
| ^~~~~
| lv_fs_drv_register
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:260:3: error: 'ledcSetup' was not declared in this scope
260 | ledcSetup(1, 300, 8);
| ^~~~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/crowpanel-esp32-7.0.ino:261:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
261 | ledcAttachPin(TFT_BL, 1);
| ^~~~~
| ledcAttach
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_init.h:16,
from /home/path/arduino/libraries/lvgl/src/../lvgl.h:21,
from /home/path/arduino/libraries/lvgl/src/lvgl.h:16,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui.h:13,
from /home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_background_png.c:6:
/home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:3711: warning: "LV_USE_MEM_MONITOR" redefined
3711 | #define LV_USE_MEM_MONITOR 0
|
In file included from /home/path/arduino/libraries/lvgl/src/../src/lv_conf_internal.h:58:
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/lv_conf.h:285: note: this is the location of the previous definition
285 | #define LV_USE_MEM_MONITOR 1
|
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_background_png.c:6017:13: error: 'lv_image_header_t' has no member named 'always_zero'
6017 | .header.always_zero = 0,
| ^~~
/home/path/arduino/test-funzionanti/crowpanel-esp32-7.0/ui_img_background_png.c:6021:18: error: 'LV_IMG_CF_TRUE_COLOR_ALPHA' undeclared here (not in a function)
6021 | .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
| ^~~~~~
Using library Wire at version 3.1.3 in folder: /home/raschi.diego/.arduino15/packages/esp32/hardware/esp32/3.1.3/libraries/Wire
Using library lvgl at version 9.2.2 in folder: /home/path/arduino/libraries/lvgl
Using library LovyanGFX at version 1.2.0 in folder: /home/path/arduino/libraries/LovyanGFX
Using library SPI at version 3.1.3 in folder: /home/raschi.diego/.arduino15/packages/esp32/hardware/esp32/3.1.3/libraries/SPI
Using library GFX Library for Arduino at version 1.5.3 in folder: /home/path/arduino/libraries/GFX_Library_for_Arduino
exit status 1
Compilation error: 'b' undeclared here (not in a function)