lvgl: cant run any demo on arduino ide
Describe the bug
I cant Build lvgl demo with Arduino IDE. I use the newest Master branches of lv_example and the lvgl master. then i get the build error no found lvgl/lvgl.h so i replace all lvgl/lvgl.h to lvgl.h the error appears but i get the following errors. that is not a good experience.
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.txt_small_compr_cb+0x0): undefined reference to `lv_font_montserrat_12_compr_az'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.txt_medium_compr_cb+0x0): undefined reference to `lv_font_montserrat_16_compr_az'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.txt_large_compr_cb+0x0): undefined reference to `lv_font_montserrat_28_compr_az'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.img_rgb_cb+0x0): undefined reference to `img_cogwheel_rgb'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.img_argb_cb+0x0): undefined reference to `img_cogwheel_argb'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.img_ckey_cb+0x0): undefined reference to `img_cogwheel_chroma_keyed'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.img_index_cb+0x0): undefined reference to `img_cogwheel_indexed16'
libraries/lv_examples/lv_demo_benchmark/lv_demo_benchmark.c.o:(.literal.img_alpha_cb+0x0): undefined reference to `img_cogwheel_alpha16'
dosnt work too
sketch/testlvgl.ino.cpp.o:(.literal._Z5setupv+0x28): undefined reference to `lv_demo_widgets'
i use already the latest master from github rn
To Reproduce
Build with Arduino IDE. And i have installed lvgl and lvgl_examples via library manager. and overwrite it with the master version of github
Expected behavior
working demo
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (11 by maintainers)
Hi,
I’ve just pushed a fix to
lv_examples
.@C47D I think we should rather add some comments in
lv_conf.h
when the demos are enabled because the user surely goes there and will see the notes.I don’t know how many people reads it but we have an FAQ part in the docs. There we can mention that if LVGL doesn’t what you can try.
Probably we can make the FAQ page more visible by adding links to in in issue and topic templates.
What do you think?