espressif / esp-who

Face detection and recognition framework
Other
1.64k stars 458 forks source link

build error with inbuilt example (AIV-523) #213

Closed theElementZero closed 2 years ago

theElementZero commented 2 years ago

Hello,

I got started with ESP-WHO for first time, i got an ESP-EYE dev kit, i have esp-idf v4.3 on my system already, i followed these step to get esp-who:

Run the following commands in your terminal to download ESP-WHO:

git clone --recursive https://github.com/espressif/esp-who.git

Remember to use git submodule update --recursive --init to pull and update submodules of ESP-WHO.

so got started with example code in directory /esp-who/examples/human_face_detection/web/, i had set target chip using idf.py set-target esp32 command and after that running command idf.py menuconfig but id ont menuconfuig window and instead run into following error

esp-who\examples\human_face_detection\web> idf.py menuconfig Executing action: menuconfig Running cmake in directory c:\esp_tool\esp_who\esp-who\examples\human_face_detection\web\build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 c:\esp_tool\esp_who\esp-who\examples\human_face_detection\web"... -- Found Git: C:/esp32_tool/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- IDF_TARGET not set, using default target: esp32 -- ccache will be used for faster recompilation -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- The ASM compiler identification is GNU -- Found assembler: C:/esp32_tool/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/esp32_tool/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/esp32_tool/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- 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: C:/esp32_tool/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/esp32_tool/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- 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 CMake Error at C:/esp_tool/esp-idf/tools/cmake/build.cmake:191 (message): Failed to resolve component 'esp32-camera'. Call Stack (most recent call first): C:/esp_tool/esp-idf/tools/cmake/build.cmake:217 (__build_resolve_and_add_req) C:/esp_tool/esp-idf/tools/cmake/build.cmake:441 (__build_expand_requirements) C:/esp_tool/esp-idf/tools/cmake/project.cmake:399 (idf_build_process) CMakeLists.txt:8 (project)

-- Configuring incomplete, errors occurred!

I would like to know what is the issue here what i am doing wrong ? any guidance this respect will be helpful, i have also attached cmake log file

CMakeOutput.log

theElementZero commented 2 years ago

Anyone who is facing this problem check if you got all component on local machine, for esp-dl and esp-sr was missing, i have to delete esp-who folder and re download again.