Skip to content

[BUG] preview-build generating excessive sub-directories recursively #397

Description

@dl-davi

I reported this error once, and it happened again:

[LVGL] CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Maximum recursion depth of 1000 exceeded
[LVGL] -- Configuring incomplete, errors occurred!
[LVGL] emcmake: error: 'cmake -B /home/davif/my_project/mm_gui/preview-build -S /home/davif/.config/lvgl-editor/resources -DLVED_PROJECT_NAME=lved-runtime -DLVED_CODE_PROJECT_NAME=mm_gui -DLVED_OUTPUT_DIR=/home/davif/my_project/mm_gui/preview-bin -DLVED_LVGL_VERSION=v9.4.0 -DLVED_USER_SRC_DIR=/home/davif/my_project/mm_gui -DLVED_ENV=web -DCMAKE_TOOLCHAIN_FILE=/home/davif/.config/lvgl-editor/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/home/davif/.config/lvgl-editor/emsdk/node/22.16.0_64bit/bin/node' failed (returned 1)
[LVGL] Build failed: Failed when configuring the Preview runtime
[LVGL] Failed to build the emscripten module
[LVGL] Failed to setup project: Failed to build the emscripten module
[LVGL] compile failed: Failed to build the emscripten module

Builded my project normally using CTRL+SHIFT+B, .c files were generated normally, but at the end of the build, while generating the contents of /preview-build, the build process broke and created a thousand of sub-directories inside /preview-build/project. The directory always has /CMakeFiles and /project, and inside this /project the recursion happens again.

LVGL Editor Version: 2.0.0
OS: Fedora Linux 44 (Workstation Edition)
Hardware Model: Lenovo Yoga Slim 6 14IAP8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions