Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error compilation #16

Open
lopsterman opened this issue Oct 2, 2024 · 4 comments
Open

error compilation #16

lopsterman opened this issue Oct 2, 2024 · 4 comments

Comments

@lopsterman
Copy link

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp: In function 'bool sd_card_bmp_lvgl(const char*, uint32_t, uint32_t, lv_obj_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:181:57: error: no match for 'operator=' (operand types are 'lv_color_t' and 'lv_color32_t')
181 | lv_color = lv_canvas_get_px(canvas, j, h - i);
| ^
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/draw/lv_draw_buf.h:18,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_utils.h:18,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/lvgl.h:35,
from c:\Users\Professional\Documents\Arduino\libraries\lvgl\src/lvgl.h:16,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.h:9,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:3:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_color.h:101:3: note: candidate: 'constexpr lv_color_t& lv_color_t::operator=(const lv_color_t&)'
101 | } lv_color_t;
| ^~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_color.h:101:3: note: no known conversion for argument 1 from 'lv_color32_t' to 'const lv_color_t&'
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_color.h:101:3: note: candidate: 'constexpr lv_color_t& lv_color_t::operator=(lv_color_t&&)'
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_color.h:101:3: note: no known conversion for argument 1 from 'lv_color32_t' to 'lv_color_t&&'
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:182:36: error: 'struct lv_color_t' has no member named 'ch'
182 | color.rgb.r = lv_color.ch.red;
| ^~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:183:37: error: 'struct lv_color_t' has no member named 'ch'
183 | color.rgb.g = (lv_color.ch.green_h << 3 | lv_color.ch.green_l) & 0x3f;
| ^~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:183:64: error: 'struct lv_color_t' has no member named 'ch'
183 | color.rgb.g = (lv_color.ch.green_h << 3 | lv_color.ch.green_l) & 0x3f;
| ^~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.cpp:184:36: error: 'struct lv_color_t' has no member named 'ch'
184 | color.rgb.b = lv_color.ch.blue;
| ^~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino: In function 'void eeproom_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:66:9: error: 'lv_memset_00' was not declared in this scope; did you mean 'lv_memset'?
66 | lv_memset_00(eeprom_buf, EEPROM_SIZE_MAX);
| ^~~~~~~~~~~~
| lv_memset
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino: In function 'bool initSensor()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:196:9: error: 'class SensorLTR553' has no member named 'setPsLedCurrnet'; did you mean 'setPsLedCurrent'?
196 | als.setPsLedCurrnet(SensorLTR553::PS_LED_CUR_100MA);
| ^~~~~~~~~~~~~~~
| setPsLedCurrent
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino: In function 'void updateLightDected(lv_timer_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:255:27: error: invalid use of incomplete type 'lv_timer_t' {aka 'struct lv_timer_t'}
255 | if(cnt * t->period > ps_time * 1000){
| ^~
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/lv_init.h:17,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/lvgl.h:21,
from c:\Users\Professional\Documents\Arduino\libraries\lvgl\src/lvgl.h:16,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.h:12,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:6:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:112:16: note: forward declaration of 'lv_timer_t' {aka 'struct lv_timer_t'}
112 | typedef struct lv_timer_t lv_timer_t;
| ^~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:265:27: error: invalid use of incomplete type 'lv_timer_t' {aka 'struct lv_timer_t'}
265 | if(cnt * t->period > ps_time * 1000){
| ^~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:112:16: note: forward declaration of 'lv_timer_t' {aka 'struct lv_timer_t'}
112 | typedef struct lv_timer_t lv_timer_t;
| ^~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino: In function 'void camera_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:350:5: error: 'ledcSetup' was not declared in this scope; did you mean 'ledc_stop'?
350 | ledcSetup(LEDC_WHITE_CH, 1000, 8);
| ^~~~~~~~~
| ledc_stop
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\factory.ino:351:5: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
351 | ledcAttachPin(CAMERA_WHITH_LED, LEDC_WHITE_CH);
| ^~~~~~~~~~~~~
| ledcAttach
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void backgBut_explain(lv_obj_t*, lv_obj_t**, char*, lv_event_cb_t, void*, const void*, lv_coord_t, lv_coord_t)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:331:56: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
331 | lv_obj_add_flag(img_obj, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/lvgl.h:39,
from c:\Users\Professional\Documents\Arduino\libraries\lvgl\src/lvgl.h:16,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\sd_card.h:9,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.h:11,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:333:109: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
332 | lv_obj_clear_flag(img_obj, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_GESTURE_BUBBLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | LV_OBJ_FLAG_SCROLLABLE | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
334 | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:355:84: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
354 | lv_obj_clear_flag(label_obj, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
355 | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void moveup_Animation(lv_obj_t*, int)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:361:81: error: 'lv_mem_alloc' was not declared in this scope; did you mean 'lv_realloc'?
361 | ui_anim_user_data_t PropertyAnimation_0_user_data = (ui_anim_user_data_t )lv_mem_alloc(sizeof(ui_anim_user_data_t));
| ^~~~~~~~~~~~
| lv_realloc
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void movedown_Animation(lv_obj_t
, int)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:383:81: error: 'lv_mem_alloc' was not declared in this scope; did you mean 'lv_realloc'?
383 | ui_anim_user_data_t PropertyAnimation_0_user_data = (ui_anim_user_data_t )lv_mem_alloc(sizeof(ui_anim_user_data_t));
| ^~~~~~~~~~~~
| lv_realloc
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void prompt_label_timer(lv_timer_t
)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:459:29: error: invalid use of incomplete type 'lv_timer_t' {aka 'struct lv_timer_t'}
459 | lv_obj_del((lv_obj_t )t->user_data);
| ^~
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/lv_init.h:17,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/lvgl.h:21:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:112:16: note: forward declaration of 'lv_timer_t' {aka 'struct lv_timer_t'}
112 | typedef struct lv_timer_t lv_timer_t;
| ^~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void delete_img_event_cb(lv_event_t
)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:575:49: error: invalid conversion from 'void
' to 'lv_obj_t
' [-fpermissive]
575 | lv_obj_t * obj = lv_event_get_current_target(e);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| void*
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:577:29: error: 'lv_msgbox_get_active_btn_text' was not declared in this scope; did you mean 'lv_msgbox_get_content'?
577 | char operate = (char )lv_msgbox_get_active_btn_text(obj);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| lv_msgbox_get_content
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_photos_list_event(lv_event_t
)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:593:41: error: invalid conversion from 'void
' to 'lv_obj_t*' [-fpermissive]
593 | lv_obj_t * obj = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void*
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:642:42: error: too many arguments to function 'lv_obj_t* lv_msgbox_create(lv_obj_t*)'
642 | ui_photos_mbox = lv_msgbox_create(ui_photos_img_src, "Info", prompt_buf, btns, true);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/lvgl.h:68:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/widgets/msgbox/lv_msgbox.h:50:12: note: declared here
50 | lv_obj_t * lv_msgbox_create(lv_obj_t * parent);
| ^~~~~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void counter_event_cb(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:730:24: error: invalid use of incomplete type 'lv_event_t' {aka 'struct lv_event_t'}
730 | char c = ((char )t->user_data)[0];
| ^~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:110:16: note: forward declaration of 'lv_event_t' {aka 'struct lv_event_t'}
110 | typedef struct lv_event_t lv_event_t;
| ^~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:775:9: error: 'lv_textarea_del_char' was not declared in this scope; did you mean 'lv_textarea_delete_char'?
775 | lv_textarea_del_char(counter_textarea);
| ^~~~~~~~~~~~~~~~~~~~
| lv_textarea_delete_char
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:796:9: error: invalid use of incomplete type 'lv_event_t' {aka 'struct lv_event_t'}
796 | if(t->code == LV_EVENT_CLICKED){
| ^~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:110:16: note: forward declaration of 'lv_event_t' {aka 'struct lv_event_t'}
110 | typedef struct lv_event_t lv_event_t;
| ^~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void camera_video_play(lv_timer_t
)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:835:89: error: 'LV_IMG_CF_TRUE_COLOR' was not declared in this scope
835 | lv_canvas_set_buffer(ui_camera_canvas, frame->buf, frame->height, frame->width, LV_IMG_CF_TRUE_COLOR);
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_label_create(lv_obj_t**, lv_obj_t*, char*, lv_coord_t, lv_coord_t, lv_coord_t, lv_coord_t)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1023:80: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1022 | lv_obj_clear_flag(ui_label, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1023 | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t
, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_img_bgColour_create(lv_obj_t**, lv_obj_t*, const void*, lv_coord_t, lv_coord_t, lv_coord_t, lv_coord_t)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1046:76: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1046 | lv_obj_add_flag(ui_obj, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t
, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_event_wlanswitch(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1084:43: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
1084 | lv_obj_t target = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_event_wifilistname(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1139:43: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
1139 | lv_obj_t target = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void show_wifiName(lv_obj_t*, int)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1166:60: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1166 | lv_obj_add_flag(ui_wifilist, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_wifiset_screen_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1320:65: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1320 | lv_obj_clear_flag(ui_wlanheader, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1543:68: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1543 | lv_obj_clear_flag(ui_enterwifipass, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1573:123: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1573 | lv_obj_clear_flag(ui_wifipassinput, LV_OBJ_FLAG_SCROLLABLE | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
1574 | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_event_autodatetimeswitch(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1673:43: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
1673 | lv_obj_t target = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_event_calendar(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1742:51: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
1742 | lv_obj_t target = lv_event_get_current_target(e);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| void

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_settime_hour_min(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1771:43: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
1771 | lv_obj_t target = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void

C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_datetimeui_screen_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1804:69: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1804 | lv_obj_clear_flag(ui_datetimeheader, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:1903:65: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
1903 | lv_obj_clear_flag(ui_datetimepanel1, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_aboutui_screen_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2168:66: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2168 | lv_obj_clear_flag(ui_aboutheader, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_setting_screen_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2294:68: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2294 | lv_obj_clear_flag(ui_settingheader, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2353:90: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2353 | lv_obj_clear_flag(ui_setpannel, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
2354 | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2370:80: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2369 | lv_obj_clear_flag(ui_aboutpannel, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2370 | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2404:80: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2403 | lv_obj_clear_flag(ui_aboutpannel1, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2404 | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2435:60: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2435 | lv_obj_clear_flag(ui_wifipanel, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2477:61: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2477 | lv_obj_clear_flag(ui_wifipanel1, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_counter_screen_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2646:19: error: cannot convert 'lv_obj_t*' to 'lv_event_list_t*' {aka 'lv_array_t*'}
2646 | lv_event_send(counter_textarea, LV_EVENT_FOCUSED, NULL);
| ^~~~~~~~~~~~~~~~
| |
| lv_obj_t*
In file included from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/display/lv_display.h:18,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj_tree.h:18,
from c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:24:
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_event.h:124:45: note: initializing argument 1 of 'lv_result_t lv_event_send(lv_event_list_t*, lv_event_t*, bool)'
124 | lv_result_t lv_event_send(lv_event_list_t * list, lv_event_t * e, bool preprocess);
| ~~~~~~~~~~~~~~~~~~^~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/misc/lv_types.h:89:16: note: class type 'lv_obj_t' is incomplete
89 | typedef struct lv_obj_t lv_obj_t;
| ^~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_home_create(lv_obj_t**, lv_obj_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2654:85: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2654 | lv_obj_clear_flag(ui_home, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_GESTURE_BUBBLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
2655 | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t
, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void slider_event_cb(lv_event_t*)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2738:44: error: invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
2738 | lv_obj_t * slider = lv_event_get_target(e);
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| void*
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp: In function 'void ui_init()':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2814:61: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2814 | lv_obj_clear_flag(ui_header, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2830:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2830 | lv_obj_clear_flag(ui_body, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_GESTURE_BUBBLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2881:116: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2881 | lv_obj_clear_flag(ui_footer, LV_OBJ_FLAG_SCROLLABLE | LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
2882 | LV_OBJ_FLAG_SCROLL_CHAIN);
| ~~~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2914:70: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2914 | lv_obj_clear_flag(ui_controlListener, LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2927:117: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2927 | lv_obj_clear_flag(ui_controlCenter, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_GESTURE_BUBBLE | LV_OBJ_FLAG_SNAPPABLE |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| int
2928 | LV_OBJ_FLAG_SCROLLABLE);
| ~~~~~~~~~~~~~~~~~~~~~~
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:247:55: note: initializing argument 2 of 'void lv_obj_remove_flag(lv_obj_t*, lv_obj_flag_t)'
247 | void lv_obj_remove_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:2990:78: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
2990 | lv_obj_add_flag(ui_Image5, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3080:78: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3080 | lv_obj_add_flag(ui_Image9, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3108:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3108 | lv_obj_add_flag(ui_Image10, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3148:78: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3148 | lv_obj_add_flag(ui_Image8, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3182:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3182 | lv_obj_add_flag(ui_Image16, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3210:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3210 | lv_obj_add_flag(ui_Image17, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3238:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3238 | lv_obj_add_flag(ui_Image18, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\ui.cpp:3266:79: error: invalid conversion from 'int' to 'lv_obj_flag_t' [-fpermissive]
3266 | lv_obj_add_flag(ui_Image19, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_ADV_HITTEST);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
c:/Users/Professional/Documents/Arduino/libraries/lvgl/src/core/lv_obj.h:240:52: note: initializing argument 2 of 'void lv_obj_add_flag(lv_obj_t*, lv_obj_flag_t)'
240 | void lv_obj_add_flag(lv_obj_t * obj, lv_obj_flag_t f);
| ~~~~~~~~~~~~~~^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:23:2: error: #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
23 | #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
| ^~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:24:2: error: #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
24 | #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
| ^~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:25:2: error: #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
25 | #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
| ^~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:26:2: error: #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
26 | #error "Error! Please make sure <Setup214_LilyGo_T_Display_S3_Pro.h> is selected in <TFT_eSPI/User_Setup_Select.h>"
| ^~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:35:13: error: variable or field 'lv_disp_flush' declared void
35 | static void lv_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area,
| ^~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:35:27: error: 'lv_disp_drv_t' was not declared in this scope; did you mean 'lv_fs_drv_t'?
35 | static void lv_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area,
| ^~~~~~~~~~~~~
| lv_fs_drv_t
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:35:42: error: 'disp' was not declared in this scope
35 | static void lv_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area,
| ^~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:35:48: error: expected primary-expression before 'const'
35 | static void lv_disp_flush(lv_disp_drv_t *disp, const lv_area_t area,
| ^~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:36:38: error: expected primary-expression before '
' token
36 | lv_color_t *color_p)
| ^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:36:39: error: 'color_p' was not declared in this scope
36 | lv_color_t *color_p)
| ^~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:13: error: variable or field 'lv_touchpad_read' declared void
47 | static void lv_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:30: error: 'lv_indev_drv_t' was not declared in this scope; did you mean 'lv_indev_data_t'?
47 | static void lv_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~~~~~~~~~~~
| lv_indev_data_t
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:46: error: 'indev_driver' was not declared in this scope
47 | static void lv_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t data)
| ^~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:76: error: expected primary-expression before '
' token
47 | static void lv_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:77: error: 'data' was not declared in this scope
47 | static void lv_touchpad_read(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
| ^~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:47:77: note: suggested alternatives:
In file included from C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/unordered_map:42,
from C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/functional:63,
from C:\Users\Professional\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\cores\esp32/HardwareSerial.h:49,
from C:\Users\Professional\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\cores\esp32/Arduino.h:200,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.h:13,
from C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:10:
C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/range_access.h:346:5: note: 'std::data'
346 | data(initializer_list<_Tp> __il) noexcept
| ^~~~
In file included from C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/ranges_algobase.h:38,
from C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/ranges_algo.h:38,
from C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/algorithm:63,
from C:\Users\Professional\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\cores\esp32/Arduino.h:188:
C:/Users/Professional/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2405/xtensa-esp-elf/include/c++/13.2.0/bits/ranges_base.h:496:43: note: 'std::ranges::__cust::data'
496 | inline constexpr __cust_access::_Data data{};
| ^~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp: In function 'void lv_helper(uint8_t)':
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:114:12: error: 'lv_disp_drv_t' does not name a type; did you mean 'lv_fs_drv_t'?
114 | static lv_disp_drv_t disp_drv;
| ^~~~~~~~~~~~~
| lv_fs_drv_t
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:115:12: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_buf_t'?
115 | static lv_disp_draw_buf_t draw_buf;
| ^~~~~~~~~~~~~~~~~~
| lv_draw_buf_t
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:140:23: error: 'disp_drv' was not declared in this scope
140 | lv_disp_drv_init(&disp_drv);
| ^~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:140:5: error: 'lv_disp_drv_init' was not declared in this scope; did you mean 'lv_fs_drv_init'?
140 | lv_disp_drv_init(&disp_drv);
| ^~~~~~~~~~~~~~~~
| lv_fs_drv_init
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:141:28: error: 'draw_buf' was not declared in this scope
141 | lv_disp_draw_buf_init(&draw_buf, frameBuffer, NULL, buffer_size);
| ^~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:141:5: error: 'lv_disp_draw_buf_init' was not declared in this scope; did you mean 'lv_draw_buf_init'?
141 | lv_disp_draw_buf_init(&draw_buf, frameBuffer, NULL, buffer_size);
| ^~~~~~~~~~~~~~~~~~~~~
| lv_draw_buf_init
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:145:25: error: 'lv_disp_flush' was not declared in this scope
145 | disp_drv.flush_cb = lv_disp_flush;
| ^~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:147:5: error: 'lv_disp_drv_register' was not declared in this scope; did you mean 'lv_fs_drv_register'?
147 | lv_disp_drv_register(&disp_drv);
| ^~~~~~~~~~~~~~~~~~~~
| lv_fs_drv_register
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:149:12: error: 'lv_indev_drv_t' does not name a type; did you mean 'lv_indev_data_t'?
149 | static lv_indev_drv_t indev_drv;
| ^~~~~~~~~~~~~~
| lv_indev_data_t
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:150:24: error: 'indev_drv' was not declared in this scope
150 | lv_indev_drv_init(&indev_drv);
| ^~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:150:5: error: 'lv_indev_drv_init' was not declared in this scope; did you mean 'lv_fs_drv_init'?
150 | lv_indev_drv_init(&indev_drv);
| ^~~~~~~~~~~~~~~~~
| lv_fs_drv_init
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:152:25: error: 'lv_touchpad_read' was not declared in this scope
152 | indev_drv.read_cb = lv_touchpad_read;
| ^~~~~~~~~~~~~~~~
C:\Users\Professional\Desktop\T-Display-S3-Pro-master\examples\factory\LV_Helper.cpp:153:5: error: 'lv_indev_drv_register' was not declared in this scope; did you mean 'lv_fs_drv_register'?
153 | lv_indev_drv_register(&indev_drv);
| ^~~~~~~~~~~~~~~~~~~~~
| lv_fs_drv_register
Multiple libraries were found for "SD.h"
Used: C:\Users\Professional\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0-RC1\libraries\SD
Not used: C:\Users\Professional\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: no match for 'operator=' (operand types are 'lv_color_t' and 'lv_color32_t')

@lewisxhe
Copy link
Contributor

lewisxhe commented Oct 4, 2024

Did you follow the quick start steps to copy the lib directory to the libraries directory?

@lopsterman
Copy link
Author

yes

@lopsterman
Copy link
Author

C:\Users\Professional\Desktop\Новая папка (7)\Si473x_LilyGo_T-Display_Interface_V4_1b-main\Si473x_LilyGo_T-Display_Interface_V4_1b\Si473x_LilyGo_T-Display_Interface_V4_1b.ino:98:10: fatal error: Battery18650Stats.h: No such file or directory
98 | #include <Battery18650Stats.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: Battery18650Stats.h: No such file or directory

@lewisxhe
Copy link
Contributor

Si473x_LilyGo_T-Display_Interface_V4_1b.ino ? ?

This repository does not have this example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants