Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lv_conf.h , line 278, lv_font_roboto_16 undeclared #1

Open
PaulskPt opened this issue Sep 15, 2022 · 1 comment
Open

lv_conf.h , line 278, lv_font_roboto_16 undeclared #1

PaulskPt opened this issue Sep 15, 2022 · 1 comment

Comments

@PaulskPt
Copy link

PaulskPt commented Sep 15, 2022

While trying to build a project example for esp32-s3-box (Espressif esp-box repo),
the compiler reports the following error (see screenshot #1 below):

define_LV_FONT_DEFAULT_undeclared

Note that in your repo, file lv_conf.h, the definition is in line 278.

when I change lv_font_roboto_16 into uppercase: LV_FONT_ROBOTO_16, because in line 271 is the definition:
#define LV_FONT_ROBOTO_16 1, the compiler reports another type of error, see screenshot #2 below:

define_LV_FONT_DEFAULT_provokes_error

@PaulskPt PaulskPt changed the title lv_conf.h , line 288, lv_font_roboto_16 undeclared lv_conf.h , line 278, lv_font_roboto_16 undeclared Sep 15, 2022
@PaulskPt
Copy link
Author

PaulskPt commented Sep 15, 2022

if I add the line:
#define lv_font_roboto_16 1
and then:
#define LV_DONT_DEFAULT &lv_font_roboto_16
the compiler reports with error: lvalue required as unary '&' operand,
See also:
https://stackoverflow.com/questions/16727370/lvalue-required-as-unary-operand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant