Open DesignBestC opened 1 year ago
显示错误如下:
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:245 (message): Failed to resolve component 'esp_adc_cal'. Call Stack (most recent call first): C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:287 (build_resolve_and_add_req) C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:574 (build_expand_requirements) C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/project.cmake:440 (idf_build_process) CMakeLists.txt:14 (project)
请问是什么原因,代码没有改动过
问题已解决,espidf 5.0版本将esp_adc_cal库改名成了esp_adc库,components/button里还是用的esp_adc_cal头文件,把名字改了就行了。。。
各位,如果用了5.0的idf,需要对配套程序大改才能跑通,对新手极不友好,建议用4.3即可
真相了,萌新拿5.2和4.4都各种问题,以为是环境要配才行,最后换到4.3终于自动过了,泪奔。。。
显示错误如下:
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:245 (message): Failed to resolve component 'esp_adc_cal'. Call Stack (most recent call first): C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:287 (build_resolve_and_add_req) C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:574 (build_expand_requirements) C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/project.cmake:440 (idf_build_process) CMakeLists.txt:14 (project)
请问是什么原因,代码没有改动过