bkeevil / esp32-cam

A webcam firmware for ESP32 based camera modules
149 stars 43 forks source link

Latest build fails: Failed to resolve compunent 'esp-idf-ssd1306'. #43

Closed wanderling closed 1 year ago

wanderling commented 1 year ago

Latest build fails: Failed to resolve compunent 'esp-camera'.

Trying to run menuconfig.

`daniel@Daniel-LinuxDesktop:~/build/esp32-cam$ idf.py menuconfig Executing action: menuconfig Running cmake in directory /home/daniel/build/esp32-cam/build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/daniel/build/esp32-cam"... -- IDF_TARGET not set, using default target: esp32 -- Found Git: /usr/bin/git (found version "2.34.1") -- Component directory /home/daniel/build/esp32-cam/components/esp-idf-ssd1306 does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp32-camera does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp-idf-ssd1306 does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp32-camera does not contain a CMakeLists.txt file. No component will be added -- 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: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - 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: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 CMake Error at /home/daniel/build/esp-idf/tools/cmake/build.cmake:201 (message): Failed to resolve component 'esp32-camera'. Call Stack (most recent call first): /home/daniel/build/esp-idf/tools/cmake/build.cmake:227 (build_resolve_and_add_req) /home/daniel/build/esp-idf/tools/cmake/build.cmake:509 (build_expand_requirements) /home/daniel/build/esp-idf/tools/cmake/project.cmake:384 (idf_build_process) CMakeLists.txt:9 (project)

-- Configuring incomplete, errors occurred! See also "/home/daniel/build/esp32-cam/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 ` Not familiar with building with IDF.

Thanks for your help!

wanderling commented 1 year ago

I think I have it. Correct me if I am wrong. I need to install the idf esp32-camera component as it does not automatically install it.

wanderling commented 1 year ago

Got that one. But now having issues with esp-idf-ssd1306 which is not in the component registry and does not get recognized when added to the component registry from this git https://github.com/yanbe/ssd1306-esp-idf-i2c.git.

wanderling commented 1 year ago

`daniel@Daniel-LinuxDesktop:~/build/esp32-cam$ idf.py menuconfig Executing action: menuconfig Running cmake in directory /home/daniel/build/esp32-cam/build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/daniel/build/esp32-cam"... -- IDF_TARGET not set, using default target: esp32 -- Found Git: /usr/bin/git (found version "2.34.1") -- Component directory /home/daniel/build/esp-idf/components/esp-idf-ssd1306 does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp-idf-ssd1306 does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp32-camera does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp-idf-ssd1306 does not contain a CMakeLists.txt file. No component will be added -- Component directory /home/daniel/build/esp32-cam/components/esp32-camera does not contain a CMakeLists.txt file. No component will be added -- 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: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - 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: /home/daniel/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 CMake Error at /home/daniel/build/esp-idf/tools/cmake/build.cmake:201 (message): Failed to resolve component 'esp-idf-ssd1306'. Call Stack (most recent call first): /home/daniel/build/esp-idf/tools/cmake/build.cmake:227 (build_resolve_and_add_req) /home/daniel/build/esp-idf/tools/cmake/build.cmake:509 (build_expand_requirements) /home/daniel/build/esp-idf/tools/cmake/project.cmake:384 (idf_build_process) CMakeLists.txt:9 (project)

-- Configuring incomplete, errors occurred! See also "/home/daniel/build/esp32-cam/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 `