studio
studio copied to clipboard
Possibly a bug. Missing #include <string.h> statement
Bug
The #include <string.h> declaration is missing in the ui.c file due to the strcmp() function in the generated code:
static const void *getLvglImageByName(const char *name) {
for (size_t imageIndex = 0; imageIndex < sizeof(images) / sizeof(ext_img_desc_t); imageIndex++) {
if (strcmp(images[imageIndex].name, name) == 0) {
return images[imageIndex].img_dsc;
}
}
return 0;
}
Screen:
Desktop:
- OS: Windows 10
- Library: LVGL 9.2.0
- Visual Studio Code 1.90.2
- Platformio: Core 6.1.15, Home 3.4.4
- EEZ Studio 0.16.0