0.lvgl\src\stdlib\builtin\lv_tlsf.c(297): error C116: negative subscript
注释掉下图宏定义
1.EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: .\obj\lv_tlsf.obj
排查是c文件中大量 && “xxx”导致,全改为注释解决
2.themes不识别私有类,开启LV_USE_PRIVATE_API宏或添加对应头文件解决。
3.链接阶段CODE区过大
4.大量error C25: syntax error near
变量提前到函数起始,或就近{}起始位
5.while(layer->draw_task_head) 死循环
lv_conf.h中未设置LV_DRAW_SW_DRAW_UNIT_CNT 1 数量导致
6.lv_obj_class_t 子类初始化语法不支持,按属性模板填充
- 0,//const lv_obj_class_t * base_class;
- 0,//void (*constructor_cb)(const lv_obj_class_t * class_p, lv_obj_t * obj);
- 0,//void (*destructor_cb)(const lv_obj_class_t * class_p, lv_obj_t * obj);
- 0,//void (*event_cb)(const lv_obj_class_t * class_p, lv_event_t * e); /**< Widget type specific event function*/
- #if LV_USE_OBJ_PROPERTY
- 0,//uint32_t prop_index_start;
- 0,//uint32_t prop_index_end;
- 0,//const lv_property_ops_t * properties;
- 0,//uint32_t properties_count;
- #if LV_USE_OBJ_PROPERTY_NAME
- 0,//const lv_property_name_t * property_names;
- 0,//uint32_t names_count;
- #endif
- #endif
- 0,//void * user_data;
- 0,//const char * name;
- 0,//int32_t width_def;
- 0,//int32_t height_def;
- 0,//uint32_t editable;
- 0,//uint32_t group_def;
- 0,//uint32_t instance_size;
- 0// uint32_t theme_inheritable;
.大量结构体初始化声明属性字段正则消
- \.(bitmap_index|adv_w|box_w|box_h|ofs_x|ofs_y|class_pair_values|left_class_mapping|right_class_mapping|left_class_cnt|right_class_cnt|glyph_bitmap|glyph_dsc|cmaps|kern_dsc|kern_scale|cmap_num|bpp|kern_classes|bitmap_format|class_pair_values|range_start|range_length|glyph_id_start|unicode_list|glyph_id_ofs_list|list_length|type).*?=
8.lv_init初始化失败


5171

被折叠的 条评论
为什么被折叠?



