完善资料让更多小伙伴认识你,还能领取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 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
982 浏览 1 评论
553浏览 6评论
463浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
447浏览 5评论
448浏览 4评论
418浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-28 02:59 , Processed in 0.735383 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号