你好,编译esp-who中的example时报错如下,麻烦协助看下,好像没有这个esp-adc-cal的组件,感谢!
rk3566@rk3566-VirtualBox:~/esp/esp-who/examples/human_face_detection/web$ idf.py set-target esp32
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/rk3566/esp/esp-who/examples/human_face_detection/web/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory /home/rk3566/esp/esp-who/examples/human_face_detection/web/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 /home/rk3566/esp/esp-who/examples/human_face_detection/web"...
-- Found Git: /usr/bin/git (found version "2.17.1")
CMake Warning at /home/rk3566/esp/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
Git submodule components/bt/controller/lib_esp32c3_family is out of date.
Run 'git submodule update --init --recursive' to fix.
Call Stack (most recent call first):
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:219 (__build_get_idf_git_revision)
/home/rk3566/esp/esp-idf/tools/cmake/idf.cmake:53 (__build_init)
/home/rk3566/esp/esp-idf/tools/cmake/project.cmake:12 (include)
CMakeLists.txt:7 (include)
CMake Warning at /home/rk3566/esp/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
Git submodule components/bt/host/nimble/nimble is out of date. Run 'git
submodule update --init --recursive' to fix.
Call Stack (most recent call first):
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:219 (__build_get_idf_git_revision)
/home/rk3566/esp/esp-idf/tools/cmake/idf.cmake:53 (__build_init)
/home/rk3566/esp/esp-idf/tools/cmake/project.cmake:12 (include)
CMakeLists.txt:7 (include)
CMake Warning at /home/rk3566/esp/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
Git submodule components/esp_wifi/lib is out of date. Run 'git submodule
update --init --recursive' to fix.
Call Stack (most recent call first):
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:219 (__build_get_idf_git_revision)
/home/rk3566/esp/esp-idf/tools/cmake/idf.cmake:53 (__build_init)
/home/rk3566/esp/esp-idf/tools/cmake/project.cmake:12 (include)
CMakeLists.txt:7 (include)
CMake Warning at /home/rk3566/esp/esp-idf/tools/cmake/git_submodules.cmake:52 (message):
Git submodule components/mbedtls/mbedtls is out of date. Run 'git
submodule update --init --recursive' to fix.
Call Stack (most recent call first):
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:77 (git_submodule_check)
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:219 (__build_get_idf_git_revision)
/home/rk3566/esp/esp-idf/tools/cmake/idf.cmake:53 (__build_init)
/home/rk3566/esp/esp-idf/tools/cmake/project.cmake:12 (include)
CMakeLists.txt:7 (include)
-- 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: /home/rk3566/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/rk3566/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/rk3566/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/rk3566/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/rk3566/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Processing 2 dependencies:
[1/2] espressif/mdns (1.0.3)
[2/2] idf (5.1.0)
CMake Error at /home/rk3566/esp/esp-idf/tools/cmake/build.cmake:245 (message):
Failed to resolve component 'esp_adc_cal'.
Call Stack (most recent call first):
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:281 (__build_resolve_and_add_req)
/home/rk3566/esp/esp-idf/tools/cmake/build.cmake:574 (__build_expand_requirements)
/home/rk3566/esp/esp-idf/tools/cmake/project.cmake:434 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
编译报错:Failed to resolve component 'esp_adc_cal'.
Re: 编译报错:Failed to resolve component 'esp_adc_cal'.
esp_adc_cal is now esp_adc in esp-idf 5.x
Who is online
Users browsing this forum: No registered users and 27 guests