lv_demo_widgets, no member "text_length"
epikao opened this issue · comments
Hello, if enable lv_demo_widgets and compile, it shows dsc has no member "text_length"...
.pio\libdeps\disco_f746ng\lv_examples\src\lv_demo_widgets\lv_demo_widgets.c: In function 'chart_event_cb':
.pio\libdeps\disco_f746ng\lv_examples\src\lv_demo_widgets\lv_demo_widgets.c:1308:43: error: 'lv_obj_draw_part_dsc_t' {aka 'struct <anonymous>'} has no member named 'text_length'
1308 | lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]);
| ^~
.pio\libdeps\disco_f746ng\lv_examples\src\lv_demo_widgets\lv_demo_widgets.c:1311:43: error: 'lv_obj_draw_part_dsc_t' {aka 'struct <anonymous>'} has no member named 'text_length'
1311 | lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]);
| ^~
.pio\libdeps\disco_f746ng\lv_examples\src\lv_demo_widgets\lv_demo_widgets.c: In function 'shop_chart_event_cb':
.pio\libdeps\disco_f746ng\lv_examples\src\lv_demo_widgets\lv_demo_widgets.c:1423:39: error: 'lv_obj_draw_part_dsc_t' {aka 'struct <anonymous>'} has no member named 'text_length'
1423 | lv_snprintf(dsc->text, dsc->text_length, "%s", month[dsc->value]);
| ^~
Indexing .pio\build\disco_f746ng\lib155\libSPI.a
*** [.pio\build\disco_f746ng\lib6f7\lv_examples\lv_demo_widgets\lv_demo_widgets.c.o] Error 1
Your LVGL version is outdated.
@kisvegabor might need to publish it manually: lvgl/lvgl#2315 (comment)
@kisvegabor might need to publish it manually: lvgl/lvgl#2315 (comment)
That would be really great...
I've updated all 3 repos:
- https://platformio.org/lib/show/6598/lvgl
- https://platformio.org/lib/show/6613/lv_drivers
- https://platformio.org/lib/show/13229/lv_demos (was lv_examples formerly)
Aaand, it seems this time I didn't mess it up 😄
I've updated all 3 repos:
- https://platformio.org/lib/show/6598/lvgl
- https://platformio.org/lib/show/6613/lv_drivers
- https://platformio.org/lib/show/13229/lv_demos (was lv_examples formerly)
Aaand, it seems this time I didn't mess it up 😄
Thank you very much, I could update and compile it now without errors.