完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
如题,win10系统,安装完esp-idf4.3.2(安装过程没有报错),然后编译自带例程hello world出现报错。命令:idf.py build,错误如下:
PS F:esp32blink> idf.py build Executing action: all (aliases: build) Running cmake in directory f:esp32blinkbuild Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 f:esp32blink"... -- Found Git: D:/Espressif/tools/idf-git/2.34.2/cmd/git.exe (found version "2.34.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: D:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: D:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: D:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- broken CMake Error at D:/Espressif/tools/cmake/3.16.4/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "D:/Espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: F:/esp32/blink/build/CMakeFiles/CMakeTmp Run Build Command(s):D:/Espressif/tools/ninja/1.10.2/ninja.exe cmTC_7d773 && [1/2] Building C object CMakeFiles/cmTC_7d773.dir/testCCompiler.c.obj [2/2] Linking C executable cmTC_7d773 FAILED: cmTC_7d773 cmd.exe /C "cd . && D:Espressiftoolsxtensa-esp32-elfesp-2021r2-8.4.0xtensa-esp32-elfbinxtensa-esp32-elf-gcc.exe -mlongcalls -Wno-frame-address CMakeFiles/cmTC_7d773.dir/testCCompiler.c.obj -o cmTC_7d773 && cd ." xtensa-esp32-elf-gcc.exe: error: CMakeFiles/cmTC_7d773.dir/testCCompiler.c.obj: No such file or directory xtensa-esp32-elf-gcc.exe: fatal error: no input files compilation terminated. ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): D:/Espressif/frameworks/esp-idf-v4.3.2/tools/cmake/project.cmake:311 (__project) CMakeLists.txt:6 (project) -- Configuring incomplete, errors occurred! See also "F:/esp32/blink/build/CMakeFiles/CMakeOutput.log". See also "F:/esp32/blink/build/CMakeFiles/CMakeError.log". cmake failed with exit code 1 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
198个成员聚集在这个小组
加入小组483 浏览 1 评论
1786 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
385浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
177浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
223浏览 2评论
用AT+CIPSNTPCFG=1,8,\"cn.ntp.org.cn\",\"ntp.sjtu.edu.cn\"更新不了时间怎么处理?
575浏览 2评论
268浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-6 19:31 , Processed in 0.680607 second(s), Total 42, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191