完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我按照文档下载了与使用的IDF对应版本的esp-iot-solution,但接下来选择目标芯片、编译都不行。我按照文档配置了环境变量:set IOT_SOLUTION_PATH=E:ESP32esp-iot-solution,回车之后命令行没有任何提示,不知道是否设置成功,在idf.py set-target esp32s2提示找不到环境变量IOT_SOLUTION_PATH,在idf.py build也提示了没有找到IOT_SOLUTION_PATH,控制台的输出信息如下,是否有其他更多错误还不知道。
IDF我下载的是目前最新版本,并且能够正常使用,里面的例程能够编译下载,在外部创建自己的项目代码也能够编译下载。唯独使用esp-iot-solution的时候就不行了。 请问这个该怎么解决? PS E:ESP32esp-iot-solutionexamplesusbhostusb_camera_lcd_display> set IOT_SOLUTION_PATH=E:ESP32esp-iot-solution PS E:ESP32esp-iot-solutionexamplesusbhostusb_camera_lcd_display> idf.py set-target esp32s2 Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Build directory 'e:esp32esp-iot-solutionexamplesusbhostusb_camera_lcd_displaybuild' not found. Nothing to clean. Executing action: set-target Set Target to: esp32s2, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old. Running cmake in directory e:esp32esp-iot-solutionexamplesusbhostusb_camera_lcd_displaybuild Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=1 e:esp32esp-iot-solutionexamplesusbhostusb_camera_lcd_display"... CMake Warning at CMakeLists.txt:9 (message): Can't detect IOT_SOLUTION_PATH in your environment, we infer it is E:/ESP32/esp-iot-solution -- Found Git: E:/ESP32/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- ccache will be used for faster recompilation -- 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: E:/ESP32/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe -- Check for working C compiler: E:/ESP32/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe -- Check for working C compiler: E:/ESP32/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc.exe -- 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: E:/ESP32/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++.exe -- Check for working CXX compiler: E:/ESP32/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32s2 CMake Error at E:/ESP32/ESP-IDF/tools/cmake/build.cmake:189 (message): Failed to resolve component 'usb'. Call Stack (most recent call first): E:/ESP32/ESP-IDF/tools/cmake/build.cmake:215 (__build_resolve_and_add_req) E:/ESP32/ESP-IDF/tools/cmake/build.cmake:435 (__build_expand_requirements) E:/ESP32/ESP-IDF/tools/cmake/project.cmake:396 (idf_build_process) CMakeLists.txt:20 (project) -- Configuring incomplete, errors occurred! See also "E:/ESP32/esp-iot-solution/examples/usb/host/usb_camera_lcd_display/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 PS E:ESP32esp-iot-solutionexamplesusbhostusb_camera_lcd_display> idf.py build Executing action: all (aliases: build) Running cmake in directory e:esp32esp-iot-solutionexamplesusbhostusb_camera_lcd_displaybuild Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 e:esp32esp-iot-solutionexamplesusbhostusb_camera_lcd_display"... CMake Warning at CMakeLists.txt:9 (message): Can't detect IOT_SOLUTION_PATH in your environment, we infer it is E:/ESP32/esp-iot-solution -- Found Git: E:/ESP32/.espressif/tools/idf-git/2.30.1/cmd/git.exe (found version "2.30.1.windows.1") -- IDF_TARGET not set, using default target: esp32 -- ccache will be used for faster recompilation -- 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: E:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: E:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: E:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- 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: E:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: E:/ESP32/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32 CMake Error at E:/ESP32/ESP-IDF/tools/cmake/build.cmake:189 (message): Failed to resolve component 'usb'. Call Stack (most recent call first): E:/ESP32/ESP-IDF/tools/cmake/build.cmake:215 (__build_resolve_and_add_req) E:/ESP32/ESP-IDF/tools/cmake/build.cmake:435 (__build_expand_requirements) E:/ESP32/ESP-IDF/tools/cmake/project.cmake:396 (idf_build_process) CMakeLists.txt:20 (project) -- Configuring incomplete, errors occurred! See also "E:/ESP32/esp-iot-solution/examples/usb/host/usb_camera_lcd_display/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 PS E:ESP32esp-iot-solutionexamplesusbhostusb_camera_lcd_display> |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
528浏览 6评论
438浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
425浏览 5评论
422浏览 4评论
398浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-7 19:24 , Processed in 0.501839 second(s), Total 43, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号