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

samples/display/lvgl/sample.gui.lvgl fails to build on several boards #29720

Closed
galak opened this issue Nov 2, 2020 · 0 comments · Fixed by #29901
Closed

samples/display/lvgl/sample.gui.lvgl fails to build on several boards #29720

galak opened this issue Nov 2, 2020 · 0 comments · Fixed by #29901
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug

Comments

@galak
Copy link
Collaborator

galak commented Nov 2, 2020

Doing:

./scripts/sanitycheck -s samples/display/lvgl/sample.gui.lvgl -l

I get:

ERROR   - mimxrt1064_evk            samples/display/lvgl/sample.gui.lvgl               FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/sanity-out/mimxrt1064_evk/samples/display/lvgl/sample.gui.lvgl/build.log
INFO    - Total complete:    1/   4  25%  skipped:    0, failed:    1
ERROR   - mimxrt1060_evk            samples/display/lvgl/sample.gui.lvgl               FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/sanity-out/mimxrt1060_evk/samples/display/lvgl/sample.gui.lvgl/build.log
INFO    - Total complete:    2/   4  50%  skipped:    0, failed:    2
ERROR   - mimxrt1050_evk            samples/display/lvgl/sample.gui.lvgl               FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/sanity-out/mimxrt1050_evk/samples/display/lvgl/sample.gui.lvgl/build.log
INFO    - Total complete:    3/   4  75%  skipped:    0, failed:    3
ERROR   - reel_board                samples/display/lvgl/sample.gui.lvgl               FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/sanity-out/reel_board/samples/display/lvgl/sample.gui.lvgl/build.log

This seems due to:

[ 71%] Building C object modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl.dir/src/lv_font/lv_font_dejavu_16_persian_hebrew.c.obj
[ 71%] Building C object modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl.dir/src/lv_font/lv_font_fmt_txt.c.obj
/home/galak/git/modules/lib/gui/lvgl/src/lv_font/lv_font_fmt_txt.c:349:13: error: 'decompress' defined but not used [-Werror=unused-function]
  349 | static void decompress(const uint8_t * in, uint8_t * out, lv_coord_t w, lv_coord_t h, uint8_t bpp, bool prefilter)
      |             ^~~~~~~~~~
cc1: all warnings being treated as errors
gmake[2]: *** [modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl.dir/build.make:603: modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl.dir/src/lv_font/lv_font_fmt_txt.c.obj] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3275: modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl.dir/all] Error 2
gmake: *** [Makefile:104: all] Error 2
@galak galak added bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug labels Nov 2, 2020
vanwinkeljan added a commit to vanwinkeljan/zephyr that referenced this issue Nov 9, 2020
Updated LVGL reference to take in fix for compiler warning

Fixes: zephyrproject-rtos#29720

Signed-off-by: Jan Van Winkel <[email protected]>
MaureenHelm pushed a commit that referenced this issue Nov 9, 2020
Updated LVGL reference to take in fix for compiler warning

Fixes: #29720

Signed-off-by: Jan Van Winkel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants