can't compile using latest master version
Posted: Thu Mar 03, 2022 2:14 pm
short version:
after typing
idf set-target esp32c3 (actually also fails for esp32)
...
Failed to resolve component 'nghttp'.
...
long version:
esp5> rm -rf build
esp5> idf set-target esp32c3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/cs/system/danny/src/esp32/KeyPad/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c3, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory /cs/system/danny/src/esp32/KeyPad/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /cs/system/danny/src/esp32/KeyPad"...
-- Found Git: /usr/local/bin/git (found version "2.32.0")
-- Component directory /cs/system/danny/src/esp32/components/blinkled does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/buzzer does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ethernet does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ip5306 does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ledc does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ngraphics does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/qr does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/rmt does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/rtcmodule does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/serial does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/touch 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: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-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: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32c3
CMake Error at /vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:197 (message):
Failed to resolve component 'nghttp'.
Call Stack (most recent call first):
/vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:225 (__build_resolve_and_add_req)
/vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:512 (__build_expand_requirements)
/vol/src/esp/esp-idf/tools/cmake/project.cmake:422 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "/cs/system/danny/src/esp32/KeyPad/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
after typing
idf set-target esp32c3 (actually also fails for esp32)
...
Failed to resolve component 'nghttp'.
...
long version:
esp5> rm -rf build
esp5> idf set-target esp32c3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/cs/system/danny/src/esp32/KeyPad/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32c3, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory /cs/system/danny/src/esp32/KeyPad/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /cs/system/danny/src/esp32/KeyPad"...
-- Found Git: /usr/local/bin/git (found version "2.32.0")
-- Component directory /cs/system/danny/src/esp32/components/blinkled does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/buzzer does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ethernet does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ip5306 does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ledc does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/ngraphics does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/qr does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/rmt does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/rtcmodule does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/serial does not contain a CMakeLists.txt file. No component will be added
-- Component directory /cs/system/danny/src/esp32/components/touch 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: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-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: /cs/system/danny/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32c3
CMake Error at /vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:197 (message):
Failed to resolve component 'nghttp'.
Call Stack (most recent call first):
/vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:225 (__build_resolve_and_add_req)
/vol/src/esp/esp-idf.5.0/esp-idf/tools/cmake/build.cmake:512 (__build_expand_requirements)
/vol/src/esp/esp-idf/tools/cmake/project.cmake:422 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "/cs/system/danny/src/esp32/KeyPad/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1