乐鑫技术交流
直播中

贾飞世

7年用户 1803经验值
私信 关注
[问答]

下载esp-iot-solution后无法编绎是怎么回事?

代码是从https://github.com/espressif/esp-iot-solution/下载的,不管是使用git下载,还是download压缩包,代码都是一样的。

下面是几个下载过程和编绎的图片。

我编绎的是工程“usb_camera_sd_card”.

使用命令idf.py set-target esp32s2提示以下错误:

Directory 'i:esp32-s2-c3esp-devesp-dev-kits-masteraaesp-iot-solutionexamplesusbhostusb_camera_sd_cardbuild' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.



使用命令idf.py build提示以下错误:



-- Building ESP-IDF components for target esp32

CMake Error at I:/ESP32/esp-idf-v4.3/tools/cmake/build.cmake:189 (message):

  Failed to resolve component 'usb'.

Call Stack (most recent call first):

  I:/ESP32/esp-idf-v4.3/tools/cmake/build.cmake:215 (__build_resolve_and_add_req)

  I:/ESP32/esp-idf-v4.3/tools/cmake/build.cmake:435 (__build_expand_requirements)

  I:/ESP32/esp-idf-v4.3/tools/cmake/project.cmake:396 (idf_build_process)

  CMakeLists.txt:17 (project)





-- Configuring incomplete, errors occurred!

See also "I:/ESP32-S2-C3/ESP-dev/esp-dev-kits-master/aa/esp-iot-solution/examples/usb/host/usb_camera_sd_card/build/CMakeFiles/CMakeOutput.log".

cmake failed with exit code 1





我使用的环境是IDF4.3,编绎4.3自带的教程是没有问题的,有大神指点一下问题所在吗?

切换到usb/add_usb_solutions后使用命令:git submodule update --init --recursive的方法我试了,错误是一样的。

更多回帖

发帖
×
20
完善资料,
赚取积分