Demo broken again #209
TronCarter269
started this conversation in
General
Replies: 3 comments 4 replies
-
Yes, you can fix the version by adding ^9.2.0 to the end of the library. Which branch are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Like this? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Should be fixed now: See commit 596e2ea |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This morning I tried to start from zero again and found that PlatformIO is installing lvgl 9.2.1, which once again breaks the demo. Is there a way to force a library version? Can the library.json file be downloaded and modified to run locally or something like that?
Compiling .pio\build\esp32-3248S035C\lib127\esp32_smartdisplay\lvgl_panel_st7789_i80.c.o .pio/libdeps/esp32-3248S035C/esp32_smartdisplay/src/esp32_smartdisplay.c: In function 'smartdisplay_init': .pio/libdeps/esp32-3248S035C/esp32_smartdisplay/src/esp32_smartdisplay.c:197:15: error: 'lv_display_t' {aka 'struct lv_display_t'} has no member named 'sw_rotate' if (!display->sw_rotate) ^~ Compiling .pio\build\esp32-3248S035C\lib127\esp32_smartdisplay\lvgl_panel_st7789_spi.c.o Compiling .pio\build\esp32-3248S035C\lib127\esp32_smartdisplay\lvgl_panel_st7796_spi.c.o *** [.pio\build\esp32-3248S035C\lib127\esp32_smartdisplay\esp32_smartdisplay.c.o] Error 1 .pio/libdeps/esp32-3248S035C/esp32_smartdisplay/src/lvgl_panel_st7796_spi.c: In function 'lvgl_lcd_init': .pio/libdeps/esp32-3248S035C/esp32_smartdisplay/src/lvgl_panel_st7796_spi.c:41:12: error: 'lv_display_t' {aka 'struct lv_display_t'} has no member named 'sw_rotate' display->sw_rotate = 0; ^~ *** [.pio\build\esp32-3248S035C\lib127\esp32_smartdisplay\lvgl_panel_st7796_spi.c.o] Error 1
If version control can't be accomplished, it is a pointless waste of (more) time to try to develop anything with this code.
Beta Was this translation helpful? Give feedback.
All reactions