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

failed to run idf.py menuconfig #329

Open
Cun-Jiang opened this issue Feb 5, 2023 · 2 comments
Open

failed to run idf.py menuconfig #329

Cun-Jiang opened this issue Feb 5, 2023 · 2 comments
Labels
stale This will not be worked on

Comments

@Cun-Jiang
Copy link

Cun-Jiang commented Feb 5, 2023

Describe the issue
I follow the README.md ,run git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git. However,when i run idf.py menuconfig,something went wrong. And the folders lvgl and lvgl_esp32_drivers are empty。

`D:\ESPprojects\LVGL>cd lv_port_esp32

D:\ESPprojects\LVGL\lv_port_esp32>idf.py menuconfig
Executing action: menuconfig
Running cmake in directory d:\espprojects\lvgl\lv_port_esp32\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 d:\espprojects\lvgl\lv_port_esp32"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: C:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.1.windows.1")
-- Component directory D:/ESPprojects/LVGL/lv_port_esp32/components/lvgl does not contain a CMakeLists.txt file. No component will be added
-- Component directory D:/ESPprojects/LVGL/lv_port_esp32/components/lvgl_esp32_drivers does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/build.cmake:245 (message):
  Failed to resolve component 'lvgl'.
Call Stack (most recent call first):
  C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/build.cmake:281 (__build_resolve_and_add_req)
  C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/build.cmake:574 (__build_expand_requirements)
  C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/project.cmake:440 (idf_build_process)
  CMakeLists.txt:5 (project)

-- Configuring incomplete, errors occurred!
See also "D:/ESPprojects/LVGL/lv_port_esp32/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1`
ESP32 Chip version
esp32s3
ESP-IDF version
esp-idf 5.0

@MrSurly
Copy link
Collaborator

MrSurly commented Mar 20, 2023

And the folders lvgl and lvgl_esp32_drivers are empty。

This is the likely source of your error; those directories should not be empty. Are you certain you did git clone --recurse-submodules git@github.com:lvgl/lv_port_esp32.git?

In any case, try doing git submodule update --init --recursive in the lv_port_esp32 top directory, and see if that fixes the issue.

@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