esp32c3 set-target build errors
Posted: Wed Aug 04, 2021 7:55 am
Hello,
I get theses traces for this command idf.py set-target esp32c3:
and this command:
have you an idea about theses problems?
Thank you.
I get theses traces for this command idf.py set-target esp32c3:
Code: Select all
idf.py set-target esp32c3
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/james/Documents/esp-idf-master/esp_projects/hello_world/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 /home/james/Documents/esp-idf-master/esp_projects/hello_world/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /home/james/Documents/esp-idf-master/esp_projects/hello_world"...
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: ni ceci ni aucun de ses répertoires parents (jusqu'au point de montage /) n'est un dépôt git
Arrêt à la limite du système de fichiers (GIT_DISCOVERY_ACROSS_FILESYSTEM n'est pas défini).
-- 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/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Check for working C compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Check for working C compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-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/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++
-- Check for working CXX compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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
-- Project sdkconfig file /home/james/Documents/esp-idf-master/esp_projects/hello_world/sdkconfig
CMake Error at ../../tools/cmake/component.cmake:306 (message):
Include directory
'/home/james/Documents/esp-idf-master/components/mbedtls/mbedtls/include'
is not a directory.
Call Stack (most recent call first):
../../tools/cmake/component.cmake:478 (__component_add_include_dirs)
../../components/mbedtls/CMakeLists.txt:10 (idf_component_register)
-- Configuring incomplete, errors occurred!
See also "/home/james/Documents/esp-idf-master/esp_projects/hello_world/build/CMakeFiles/CMakeOutput.log".
See also "/home/james/Documents/esp-idf-master/esp_projects/hello_world/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
Code: Select all
james@james-Dell-System-XPS-15Z:~/Documents/esp-idf-master/esp_projects/hello_world$ idf.py build
Executing action: all (aliases: build)
Running cmake in directory /home/james/Documents/esp-idf-master/esp_projects/hello_world/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32c3 -DCCACHE_ENABLE=0 /home/james/Documents/esp-idf-master/esp_projects/hello_world"...
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: ni ceci ni aucun de ses répertoires parents (jusqu'au point de montage /) n'est un dépôt git
Arrêt à la limite du système de fichiers (GIT_DISCOVERY_ACROSS_FILESYSTEM n'est pas défini).
-- 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/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Check for working C compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Check for working C compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-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/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++
-- Check for working CXX compiler: /home/james/.espressif/tools/riscv32-esp-elf/esp-2021r1-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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
-- Project sdkconfig file /home/james/Documents/esp-idf-master/esp_projects/hello_world/sdkconfig
CMake Error at ../../tools/cmake/component.cmake:306 (message):
Include directory
'/home/james/Documents/esp-idf-master/components/mbedtls/mbedtls/include'
is not a directory.
Call Stack (most recent call first):
../../tools/cmake/component.cmake:478 (__component_add_include_dirs)
../../components/mbedtls/CMakeLists.txt:10 (idf_component_register)
-- Configuring incomplete, errors occurred!
See also "/home/james/Documents/esp-idf-master/esp_projects/hello_world/build/CMakeFiles/CMakeOutput.log".
See also "/home/james/Documents/esp-idf-master/esp_projects/hello_world/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
Thank you.