You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have just started using lvgl on ESP32 Arduino project. I wanted to generate new fonts. I used the "Online TTF to C Array Unicode Font Converter" https://littlevgl.com/ttf-font-to-c-array.
When I try to compile the .c file I get compile error.
first error:
src\nokora_bold150_2bit.h:1:23: fatal error: lvgl/lvgl.h: No such file or directory
Easy fix just remove the lvgl from the path.
Second error:
src\nokora_bold150_2bit.h:2529:1: error: narrowing conversion of '-2' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
Third error:
src\nokora_bold150_2bit.h:2529:1: sorry, unimplemented: non-trivial designated initializers not supported
this is the compiler not supporting names initializer. this may be able to fix with a different compiler.
I'm using the default setup from VCode and PlatformIO. I'm not sure how to change the compiler.
I understand that these error are not in your changes. But they are errors with Arduino usage. So I thought maybe you could drive them to get fixed.
Thanks
The text was updated successfully, but these errors were encountered:
Hello, I have just started using lvgl on ESP32 Arduino project. I wanted to generate new fonts. I used the "Online TTF to C Array Unicode Font Converter" https://littlevgl.com/ttf-font-to-c-array.
When I try to compile the .c file I get compile error.
first error:
src\nokora_bold150_2bit.h:1:23: fatal error: lvgl/lvgl.h: No such file or directory
Easy fix just remove the lvgl from the path.
Second error:
src\nokora_bold150_2bit.h:2529:1: error: narrowing conversion of '-2' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
Third error:
src\nokora_bold150_2bit.h:2529:1: sorry, unimplemented: non-trivial designated initializers not supported
this is the compiler not supporting names initializer. this may be able to fix with a different compiler.
I'm using the default setup from VCode and PlatformIO. I'm not sure how to change the compiler.
I understand that these error are not in your changes. But they are errors with Arduino usage. So I thought maybe you could drive them to get fixed.
Thanks
The text was updated successfully, but these errors were encountered: