lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
259 stars 166 forks source link

ESP-IDF V4.4 make errors #325

Open kk8900 opened 10 months ago

kk8900 commented 10 months ago

make -j -C ports/esp32 BOARD=GENERIC_S3_SPIRAM USER_C_MODULES=~/esp/lv_micropython/lib/lv_bindings/bindings.cmake

The error message is as follows,How to solve it?

CMake Error at /home/le/esp/lv_micropython/lib/lv_bindings/bindings.cmake:6 (include): include could not find requested file:

/home/le/esp/lv_micropython/lib/lv_bindings/lvgl/CMakeLists.txt

Call Stack (most recent call first): /home/le/esp/lv_micropython/py/usermod.cmake:42 (include) main/CMakeLists.txt:14 (include)

CMake Error at /home/le/esp/lv_micropython/lib/lv_bindings/mkrules.cmake:39 (target_compile_options): target_compile_options called with incorrect number of arguments Call Stack (most recent call first): /home/le/esp/lv_micropython/lib/lv_bindings/mkrules.cmake:98 (lv_bindings) /home/le/esp/lv_micropython/lib/lv_bindings/bindings.cmake:20 (all_lv_bindings) /home/le/esp/lv_micropython/py/usermod.cmake:42 (include) main/CMakeLists.txt:14 (include)

CMake Error at /home/le/esp/lv_micropython/lib/lv_bindings/mkrules.cmake:39 (target_compile_options): target_compile_options called with incorrect number of arguments Call Stack (most recent call first): /home/le/esp/lv_micropython/lib/lv_bindings/mkrules.cmake:131 (lv_bindings) /home/le/esp/lv_micropython/lib/lv_bindings/bindings.cmake:20 (all_lv_bindings) /home/le/esp/lv_micropython/py/usermod.cmake:42 (include) main/CMakeLists.txt:14 (include)

CMake Error at /home/le/esp/lv_micropython/py/usermod.cmake:9 (get_target_property): get_target_property() called with non-existent target "lvgl_interface". Call Stack (most recent call first): /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:47 (usermod_gather_sources) main/CMakeLists.txt:14 (include)

CMake Error at /home/le/esp/lv_micropython/py/usermod.cmake:15 (get_target_property): get_target_property() called with non-existent target "lvgl_interface". Call Stack (most recent call first): /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:47 (usermod_gather_sources) main/CMakeLists.txt:14 (include)

CMake Error at /home/le/esp/lv_micropython/py/usermod.cmake:21 (get_target_property): get_target_property() called with non-existent target "lvgl_interface". Call Stack (most recent call first): /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:24 (usermod_gather_sources) /home/le/esp/lv_micropython/py/usermod.cmake:47 (usermod_gather_sources) main/CMakeLists.txt:14 (include)

PGNetHun commented 9 months ago

Hello! Current MicroPython-LVGL binding version (MP: v1.20, LVGL: v9) does not support ESP32-S3, but I'm going to upgrade to latest MicroPython version (1.22.x), it just needs time.

Btw there is an another repo with MicroPython v1.22 & LVGL v9 you can check: https://github.com/kdschlosser/lvgl_micropython The main difference is that there the LVGL is added to MicroPython as a separate user module.

kk8900 commented 9 months ago

Hello! Current MicroPython-LVGL binding version (MP: v1.20, LVGL: v9) does not support ESP32-S3, but I'm going to upgrade to latest MicroPython version (1.22.x), it just needs time.

Btw there is an another repo with MicroPython v1.22 & LVGL v9 you can check: https://github.com/kdschlosser/lvgl_micropython The main difference is that there the LVGL is added to MicroPython as a separate user module.

Thank you for your reply.