What do you want to achieve?
I have created a simple GUI in SquareLine Studio and after exporting the Files Im not able to compile them.
What have you tried so far?
I tried to compile the example files, and they work.
I also tried different versions of board and LVGL under Project Settings, but get same errors.
I have checked all the tutorials online and have been googleing for a while now but no success.
All steps I do are same as in the tutorial:
Hope I can get a hint where these errors come from.
Screenshot or video
These are the errors I get:
In file included from C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui_helpers.c:6:
ui_helpers.h:14:27: error: unknown type name ‘lv_obj_t’
void _ui_bar_set_property(lv_obj_t * target, int id, int val);
^~~~~~~~
ui_helpers.h:20:29: error: unknown type name ‘lv_obj_t’
void _ui_basic_set_property(lv_obj_t * target, int id, int val);
^~~~~~~~
ui_helpers.h:23:32: error: unknown type name ‘lv_obj_t’
void _ui_dropdown_set_property(lv_obj_t * target, int id, int val);
^~~~~~~~
ui_helpers.h:26:29: error: unknown type name ‘lv_obj_t’
void _ui_image_set_property(lv_obj_t * target, int id, uint8_t * val);
^~~~~~~~
ui_helpers.h:26:56: error: unknown type name ‘uint8_t’
void _ui_image_set_property(lv_obj_t * target, int id, uint8_t * val);
^~~~~~~
ui_helpers.h:29:29: error: unknown type name ‘lv_obj_t’
void _ui_label_set_property(lv_obj_t * target, int id, char * val);
^~~~~~~~
ui_helpers.h:33:30: error: unknown type name ‘lv_obj_t’
void _ui_roller_set_property(lv_obj_t * target, int id, int val);
^~~~~~~~
ui_helpers.h:37:30: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_property(lv_obj_t * target, int id, int val);
^~~~~~~~
ui_helpers.h:39:24: error: unknown type name ‘lv_obj_t’
void _ui_screen_change(lv_obj_t * target, lv_scr_load_anim_t fademode, int spd, int delay);
^~~~~~~~
ui_helpers.h:39:43: error: unknown type name ‘lv_scr_load_anim_t’
void _ui_screen_change(lv_obj_t * target, lv_scr_load_anim_t fademode, int spd, int delay);
^~~~~~~~~~~~~~~~~~
ui_helpers.h:41:24: error: unknown type name ‘lv_obj_t’
void _ui_arc_increment(lv_obj_t * target, int val);
^~~~~~~~
ui_helpers.h:43:24: error: unknown type name ‘lv_obj_t’
void _ui_bar_increment(lv_obj_t * target, int val, int anm);
^~~~~~~~
ui_helpers.h:45:27: error: unknown type name ‘lv_obj_t’
void _ui_slider_increment(lv_obj_t * target, int val, int anm);
^~~~~~~~
ui_helpers.h:50:22: error: unknown type name ‘lv_obj_t’
void _ui_flag_modify(lv_obj_t * target, int32_t flag, int value);
^~~~~~~~
ui_helpers.h:50:41: error: unknown type name ‘int32_t’
void _ui_flag_modify(lv_obj_t * target, int32_t flag, int value);
^~~~~~~
ui_helpers.h:55:23: error: unknown type name ‘lv_obj_t’
void _ui_state_modify(lv_obj_t * target, int32_t state, int value);
^~~~~~~~
ui_helpers.h:55:42: error: unknown type name ‘int32_t’
void _ui_state_modify(lv_obj_t * target, int32_t state, int value);
^~~~~~~
ui_helpers.h:57:22: error: unknown type name ‘lv_obj_t’
void _ui_opacity_set(lv_obj_t * target, int val);
^~~~~~~~
ui_helpers.h:59:30: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_x(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:59:45: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_x(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:61:30: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_y(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:61:45: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_y(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:63:34: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_width(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:63:49: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_width(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:65:35: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_height(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:65:50: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_height(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:67:36: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_opacity(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:67:51: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_opacity(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:69:39: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_image_zoom(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:69:54: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_image_zoom(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:71:40: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_image_angle(lv_anim_t * a, int32_t v);
^~~~~~~~~
ui_helpers.h:71:55: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_image_angle(lv_anim_t * a, int32_t v);
^~~~~~~
ui_helpers.h:73:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_x(lv_anim_t * a);
^~~~~~~
ui_helpers.h:73:33: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_x(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:75:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_y(lv_anim_t * a);
^~~~~~~
ui_helpers.h:75:33: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_y(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:77:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_width(lv_anim_t * a);
^~~~~~~
ui_helpers.h:77:37: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_width(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:79:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_height(lv_anim_t * a);
^~~~~~~
ui_helpers.h:79:38: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_height(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:81:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_opacity(lv_anim_t * a);
^~~~~~~
ui_helpers.h:81:39: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_opacity(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:83:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_image_zoom(lv_anim_t * a);
^~~~~~~
ui_helpers.h:83:42: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_image_zoom(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:85:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_image_angle(lv_anim_t * a);
^~~~~~~
ui_helpers.h:85:43: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_image_angle(lv_anim_t * a);
^~~~~~~~~
ui_helpers.h:87:29: error: unknown type name ‘lv_obj_t’
void _ui_arc_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix);
^~~~~~~~
ui_helpers.h:87:45: error: unknown type name ‘lv_obj_t’
void _ui_arc_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix);
^~~~~~~~
ui_helpers.h:89:32: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix);
^~~~~~~~
ui_helpers.h:89:48: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix);
^~~~~~~~
ui_helpers.h:91:33: error: unknown type name ‘lv_obj_t’
void _ui_checked_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * txt_on, char * txt_off);
^~~~~~~~
ui_helpers.h:91:49: error: unknown type name ‘lv_obj_t’
void _ui_checked_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * txt_on, char * txt_off);
^~~~~~~~
ui_helpers.c:8:27: error: unknown type name ‘lv_obj_t’
void _ui_bar_set_property(lv_obj_t * target, int id, int val)
^~~~~~~~
ui_helpers.c:14:29: error: unknown type name ‘lv_obj_t’
void _ui_basic_set_property(lv_obj_t * target, int id, int val)
^~~~~~~~
ui_helpers.c:23:32: error: unknown type name ‘lv_obj_t’
void _ui_dropdown_set_property(lv_obj_t * target, int id, int val)
^~~~~~~~
ui_helpers.c:28:29: error: unknown type name ‘lv_obj_t’
void _ui_image_set_property(lv_obj_t * target, int id, uint8_t * val)
^~~~~~~~
ui_helpers.c:28:56: error: unknown type name ‘uint8_t’
void _ui_image_set_property(lv_obj_t * target, int id, uint8_t * val)
^~~~~~~
ui_helpers.c:33:29: error: unknown type name ‘lv_obj_t’
void _ui_label_set_property(lv_obj_t * target, int id, char * val)
^~~~~~~~
ui_helpers.c:39:30: error: unknown type name ‘lv_obj_t’
void _ui_roller_set_property(lv_obj_t * target, int id, int val)
^~~~~~~~
ui_helpers.c:45:30: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_property(lv_obj_t * target, int id, int val)
^~~~~~~~
ui_helpers.c:52:24: error: unknown type name ‘lv_obj_t’
void _ui_screen_change(lv_obj_t * target, lv_scr_load_anim_t fademode, int spd, int delay)
^~~~~~~~
ui_helpers.c:52:43: error: unknown type name ‘lv_scr_load_anim_t’
void _ui_screen_change(lv_obj_t * target, lv_scr_load_anim_t fademode, int spd, int delay)
^~~~~~~~~~~~~~~~~~
ui_helpers.c:57:24: error: unknown type name ‘lv_obj_t’
void _ui_arc_increment(lv_obj_t * target, int val)
^~~~~~~~
ui_helpers.c:63:24: error: unknown type name ‘lv_obj_t’
void _ui_bar_increment(lv_obj_t * target, int val, int anm)
^~~~~~~~
ui_helpers.c:69:27: error: unknown type name ‘lv_obj_t’
void _ui_slider_increment(lv_obj_t * target, int val, int anm)
^~~~~~~~
ui_helpers.c:75:22: error: unknown type name ‘lv_obj_t’
void _ui_flag_modify(lv_obj_t * target, int32_t flag, int value)
^~~~~~~~
ui_helpers.c:75:41: error: unknown type name ‘int32_t’
void _ui_flag_modify(lv_obj_t * target, int32_t flag, int value)
^~~~~~~
ui_helpers.c:84:23: error: unknown type name ‘lv_obj_t’
void _ui_state_modify(lv_obj_t * target, int32_t state, int value)
^~~~~~~~
ui_helpers.c:84:42: error: unknown type name ‘int32_t’
void _ui_state_modify(lv_obj_t * target, int32_t state, int value)
^~~~~~~
ui_helpers.c:94:22: error: unknown type name ‘lv_obj_t’
void _ui_opacity_set(lv_obj_t * target, int val)
^~~~~~~~
ui_helpers.c:99:30: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_x(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:99:45: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_x(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:104:30: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_y(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:104:45: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_y(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:109:34: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_width(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:109:49: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_width(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:114:35: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_height(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:114:50: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_height(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:119:36: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_opacity(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:119:51: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_opacity(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:124:39: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_image_zoom(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:124:54: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_image_zoom(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:129:40: error: unknown type name ‘lv_anim_t’
void _ui_anim_callback_set_image_angle(lv_anim_t * a, int32_t v)
^~~~~~~~~
ui_helpers.c:129:55: error: unknown type name ‘int32_t’
void _ui_anim_callback_set_image_angle(lv_anim_t * a, int32_t v)
^~~~~~~
ui_helpers.c:135:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_x(lv_anim_t * a)
^~~~~~~
ui_helpers.c:135:33: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_x(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:140:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_y(lv_anim_t * a)
^~~~~~~
ui_helpers.c:140:33: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_y(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:145:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_width(lv_anim_t * a)
^~~~~~~
ui_helpers.c:145:37: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_width(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:150:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_height(lv_anim_t * a)
^~~~~~~
ui_helpers.c:150:38: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_height(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:155:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_opacity(lv_anim_t * a)
^~~~~~~
ui_helpers.c:155:39: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_opacity(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:160:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_image_zoom(lv_anim_t * a)
^~~~~~~
ui_helpers.c:160:42: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_image_zoom(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:165:1: error: unknown type name ‘int32_t’
int32_t _ui_anim_callback_get_image_angle(lv_anim_t * a)
^~~~~~~
ui_helpers.c:165:43: error: unknown type name ‘lv_anim_t’
int32_t _ui_anim_callback_get_image_angle(lv_anim_t * a)
^~~~~~~~~
ui_helpers.c:170:29: error: unknown type name ‘lv_obj_t’
void _ui_arc_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix)
^~~~~~~~
ui_helpers.c:170:45: error: unknown type name ‘lv_obj_t’
void _ui_arc_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix)
^~~~~~~~
ui_helpers.c:177:32: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix)
^~~~~~~~
ui_helpers.c:177:48: error: unknown type name ‘lv_obj_t’
void _ui_slider_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * prefix, char * postfix)
^~~~~~~~
ui_helpers.c:183:33: error: unknown type name ‘lv_obj_t’
void _ui_checked_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * txt_on, char * txt_off)
^~~~~~~~
ui_helpers.c:183:49: error: unknown type name ‘lv_obj_t’
void _ui_checked_set_text_value(lv_obj_t * trg, lv_obj_t * src, char * txt_on, char * txt_off)
^~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui_comp.c: In function ‘ui_Button2_create’:
ui_comp.c:57:62: error: ‘_UI_COMP_BUTTON2_NUM’ undeclared (first use in this function)
lv_obj_t ** children = lv_mem_alloc(sizeof(lv_obj_t *) * _UI_COMP_BUTTON2_NUM);
^~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui_comp.c:57:62: note: each undeclared identifier is reported only once for each function it appears in
ui_comp.c:58:14: error: ‘UI_COMP_BUTTON2_BUTTON2’ undeclared (first use in this function)
children[UI_COMP_BUTTON2_BUTTON2] = cui_Button2;
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui_comp.c: In function ‘ui_Roller2_create’:
ui_comp.c:81:62: error: ‘_UI_COMP_ROLLER2_NUM’ undeclared (first use in this function)
lv_obj_t ** children = lv_mem_alloc(sizeof(lv_obj_t *) * _UI_COMP_ROLLER2_NUM);
^~~~~~~~~~~~~~~~~~~~
ui_comp.c:82:14: error: ‘UI_COMP_ROLLER2_ROLLER2’ undeclared (first use in this function)
children[UI_COMP_ROLLER2_ROLLER2] = cui_Roller2;
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU1_BUCCI1’:
ui.c:88:61: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_MENU3_BUCCI1, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c:88:61: note: each undeclared identifier is reported only once for each function it appears in
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU1_BUCCI2’:
ui.c:97:61: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_MENU3_BUCCI2, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU1_BUCCI3’:
ui.c:106:61: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_MENU3_BUCCI3, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU1_BUCCI4’:
ui.c:115:61: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_MENU3_BUCCI4, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU3_BUCCI1’:
ui.c:148:53: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_HOME, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_event_MENU4_BUCCI1’:
ui.c:164:53: error: ‘_UI_MODIFY_STATE_TOGGLE’ undeclared (first use in this function)
_ui_state_modify(ui_HOME, LV_STATE_CHECKED, _UI_MODIFY_STATE_TOGGLE);
^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_HOME_screen_init’:
ui.c:191:49: error: ‘lv_font_montserrat_16’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_HOME_Button, &lv_font_montserrat_16, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_MENU1_screen_init’:
ui.c:228:50: error: ‘lv_font_montserrat_16’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU1_BUCCI1, &lv_font_montserrat_16, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_MENU2_screen_init’:
ui.c:373:51: error: ‘lv_font_montserrat_26’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU1_Roller1, &lv_font_montserrat_26, LV_PART_SELECTED | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
ui.c:414:50: error: ‘lv_font_montserrat_20’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU2_Label1, &lv_font_montserrat_20, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_MENU3_screen_init’:
ui.c:548:53: error: ‘lv_font_montserrat_22’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU3_Countdown, &lv_font_montserrat_22, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
ui.c:584:48: error: ‘lv_font_montserrat_20’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU3_STOP, &lv_font_montserrat_20, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_MENU4_screen_init’:
ui.c:679:54: error: ‘lv_font_montserrat_16’ undeclared (first use in this function); did you mean ‘lv_font_montserrat_14’?
lv_obj_set_style_text_font(ui_MENU3_Countdown1, &lv_font_montserrat_16, LV_PART_MAIN | LV_STATE_DEFAULT);
^~~~~~~~~~~~~~~~~~~~~
lv_font_montserrat_14
C:\Users\USER\Desktop\Bucci Simple UI\UI Export\BUCCI-Simple UI\ui\ui.c: In function ‘ui_init’:
ui.c:709:5: error: ‘LV_EVENT_GET_COMP_CHILD’ undeclared (first use in this function); did you mean ‘LV_EVENT_GET_SELF_SIZE’?
LV_EVENT_GET_COMP_CHILD = lv_event_register_id();
^~~~~~~~~~~~~~~~~~~~~~~
LV_EVENT_GET_SELF_SIZE
exit status 1
unknown type name ‘lv_obj_t’
Others
-
SquareLine Studio version:
1.1.1 -
Operating system:
Windows 10 -
Target hardware:
ESP32 WROOM + ILI9341