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

build error on lvgl module (last master branch) #17

Open
kay54068 opened this issue Nov 6, 2022 · 2 comments
Open

build error on lvgl module (last master branch) #17

kay54068 opened this issue Nov 6, 2022 · 2 comments
Labels
stale This will not be worked on

Comments

@kay54068
Copy link

kay54068 commented Nov 6, 2022

Hi

I want to update lvgl and lv_driver on git submodule , but i got some error about this:

/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:17:3: warning: "MONITOR is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c" [-W#warnings]
# warning "MONITOR is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c"
  ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:21:3: warning: "KEYBOARD is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c" [-W#warnings]
# warning "KEYBOARD is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c"
  ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:25:3: warning: "MOUSE is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c" [-W#warnings]
# warning "MOUSE is deprecated, use SDL instead. See lv_drivers/sdl/sdl.c"
  ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:29:3: warning: "MOUSEWHEEL is deprecated, use SDL instead that. See lv_drivers/sdl/sdl.c" [-W#warnings]
# warning "MOUSEWHEEL is deprecated, use SDL instead that. See lv_drivers/sdl/sdl.c"
  ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:113:24: error: use of undeclared identifier 'quit_filter'                    
    SDL_SetEventFilter(quit_filter, NULL);
                       ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:262:9: error: call to undeclared function 'mouse_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        mouse_handler(&event);
        ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:263:9: error: call to undeclared function 'mousewheel_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        mousewheel_handler(&event);
        ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:264:9: error: call to undeclared function 'keyboard_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        keyboard_handler(&event);
        ^
/home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c:284:8: error: use of undeclared identifier 'sdl_quit_qry'                    
    if(sdl_quit_qry) {
       ^
4 warnings and 5 errors generated.                                                                                                            
emcc: error: '/home/psx/nfs/test/lv_web/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -Werror=implicit-function-declaration -I/home/psx/nfs/test/lv_web/emsdk/upstream/emscripten/cache/sysroot/include/SDL2 --sysroot=/home/psx/nfs/test/lv_web/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -DLV_CONF_INCLUDE_SIMPLE -DLV_LVGL_H_INCLUDE_SIMPLE -I/home/psx/nfs/test/lv_web/lv_web_emscripten -isystem /home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers -isystem /home/psx/nfs/test/lv_web/lv_web_emscripten/lvgl -O2 -MD -MT lv_drivers/CMakeFiles/lv_drivers.dir/sdl/sdl.c.o -MF CMakeFiles/lv_drivers.dir/sdl/sdl.c.o.d -c /home/psx/nfs/test/lv_web/lv_web_emscripten/lv_drivers/sdl/sdl.c -o CMakeFiles/lv_drivers.dir/sdl/sdl.c.o' failed (returned 1)
make[2]: *** [lv_drivers/CMakeFiles/lv_drivers.dir/build.make:317: lv_drivers/CMakeFiles/lv_drivers.dir/sdl/sdl.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:229: lv_drivers/CMakeFiles/lv_drivers.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
@kisvegabor
Copy link
Member

kisvegabor commented Nov 7, 2022

Please use the release/v8.3 branches of lvgl and lv_drivers.

@stale
Copy link

stale bot commented Apr 20, 2023

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This will not be worked on label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants