Deploy error with music player
kisvegabor opened this issue · comments
I've just merged the music player demo to master and got this error from the depoly script:
main.c:76:5: error: implicit declaration of function 'lv_demo_music_list_btn_check' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
CHOSEN_DEMO();
^
<command line>:10:21: note: expanded from here
#define CHOSEN_DEMO lv_demo_music_list_btn_check
Seemingly it interprets the image files as demo.
@embeddedt could you take a look?
It searches for any global function in lv_examples
that starts with lv_
and returns void
.
Either this function would need to be changed to static
or I would have to come up with a better heuristic (maybe checking for no parameters?).
I can add _lv
prefix to these functions. (only tomorow)
I've fixed this now; there are a few other unrelated errors caused by the Emscripten project being slightly out of date. The examples should deploy soon.
Great! Thank you.