vs arduino esp32 esp 8266 xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory 不存在的

vs  esp32  esp 8266  xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory 不存在的问题

最直接就是重装esp

 [Error] Verifying sketch 'grbl_controller_esp32.ino': Exit with code=1

[Starting] Verifying sketch 'grbl_controller_esp32.ino'

Please see the build logs in output path: d:\001\build

xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory

构建时出错:exit status 1

IntelliSense auto-configuration disabled.

[Error] Verifying sketch 'grbl_controller_esp32.ino': Exit with code=1

 

这4个直接删除

 

 

 

http://arduino.esp8266.com/stable/package_esp8266com_index.json

https://dl.espressif.com/dl/package_esp32_index.json

重新下载,很快的,因为没有删除以前的包,只是解压了的文件。

 

以下改路径的方法,我的是没有解决问题,


原文链接:https://blog.csdn.net/qq_34659115/article/details/120018332ticle/details/120018332

找到hardware/espressif/esp32/下的plafrom.txt,将compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin/)修改为

(1)绝对路径(使用绝对路径是最后一定要加“\”)
如《compiler.path=D:\Program Files (x86)\Arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\bin\》

(2)相对路径{runtime.platform.path}/tools/xtensa-esp32-elf/bin

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值