ESP-IDF 在线工具安装之后 编译example 报错
Posted: Mon Aug 23, 2021 11:14 am
Code: Select all
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/ESP/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - 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: D:/ESP/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - 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 esp32
-- Project sdkconfig file D:/ESP/esp-idf/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig
Loading defaults file D:/ESP/esp-idf/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults...
Loading defaults file D:/ESP/esp-idf/examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32...
CMake Error at ../../../../../tools/cmake/component.cmake:306 (message):
Include directory 'D:/ESP/esp-idf/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 "D:/ESP/esp-idf/examples/bluetooth/bluedroid/ble/ble_ancs/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1