编译报错问题如下,有大佬有经验的吗?
Posted: Mon Nov 22, 2021 7:35 am
今天根据官网提示的get started指南 进行编译环境配置,但运行idf.py set-target esp32 ,出现如下问题,有大佬遇到过吗?
CMake Error at /Users/barryhuang/esp/esp-idf-master/tools/cmake/component.cmake:304 (message):
Include directory
'/Users/barryhuang/esp/esp-idf-master/components/mbedtls/mbedtls/include'
is not a directory.
Call Stack (most recent call first):
/Users/barryhuang/esp/esp-idf-master/tools/cmake/component.cmake:475 (__component_add_include_dirs)
/Users/barryhuang/esp/esp-idf-master/components/mbedtls/CMakeLists.txt:10 (idf_component_register)
CMake Error at /Users/barryhuang/esp/esp-idf-master/tools/cmake/component.cmake:304 (message):
Include directory
'/Users/barryhuang/esp/esp-idf-master/components/mbedtls/mbedtls/include'
is not a directory.
Call Stack (most recent call first):
/Users/barryhuang/esp/esp-idf-master/tools/cmake/component.cmake:475 (__component_add_include_dirs)
/Users/barryhuang/esp/esp-idf-master/components/mbedtls/CMakeLists.txt:10 (idf_component_register)