使用官方github例程编译报错:
WARNING: Cannot find versions of "espressif/esp32_c3_lcdkit" satisfying "1.0.0" for the current target "esp32".
完整编译日志:
-- Found Git: C:/Espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/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-12.2.0_20230208/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-12.2.0_20230208/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
Dependencies lock doesn't exist, solving dependencies.
......CMake Error at C:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/build.cmake:540 (message):
HINT: Component "espressif/esp32_c3_lcdkit" has suitable versions for other
targets: "esp32c3". Is your current target "esp32" set correctly?
WARNING: Cannot find versions of "espressif/esp32_c3_lcdkit" satisfying
"1.0.0" for the current target "esp32".
HINT: Please check manifest file of the following component(s): main
ERROR: Because project depends on espressif/esp32_c3_lcdkit (1.0.0) which
doesn't match any versions, version solving failed.
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.1.2/tools/cmake/project.cmake:547 (idf_build_process)
CMakeLists.txt:12 (project)
-- Configuring incomplete, errors occurred!
See also "E:/WORK/TestFunc/esp32/esp32c3/esp-dev-kits/esp32-c3-lcdkit/examples/knob_panel/build/CMakeFiles/CMakeOutput.log".
esp32_c3_lcdkit例程报错
-
- Posts: 47
- Joined: Tue Nov 21, 2023 7:53 am
Re: esp32_c3_lcdkit例程报错
log 显示编译的目标芯片选错了,可以尝试运行 “idf.py set-target esp32-c3” 将目标芯片设置为 esp32c3 后再尝试编译下载。
Who is online
Users browsing this forum: No registered users and 50 guests