问题描述
当我尝试为 Windows 7 64 位版本安装 esp-idf 和工具时,出现此错误: 安装失败,退出代码为 128
这是日志的一部分...
2021-01-22 13:43:52.756 --------
2021-01-22 13:43:52.756 Resetting the submodules: D:\Git\cmd\git.exe -C D:\esp\esp-idf4.1 reset --hard
2021-01-22 13:43:56.589 Done,exit code=128
2021-01-22 13:43:56.589 --------
2021-01-22 13:43:56.589 Running command: D:\Git\cmd\git.exe -C D:\esp\esp-idf4.1 submodule foreach git reset --hard
Entering 'components/asio/asio
HEAD is Now at 3b66e5b0 Simple ESP32 ASIO port excluding SSL and termio
Entering 'components/bootloader/subproject/components/micro-ecc/micro-ecc
HEAD is Now at d037ec8 Add note that uECC_VLI_NATIVE_LITTLE_ENDIAN affects key compatiblit
Entering 'components/bt/controller/lib
HEAD is Now at 238fc04 Fix ble disconnect due to instant of channel map update is too small(219866f
Entering 'components/bt/host/nimble/nimble
HEAD is Now at fead24e5 Merge branch 'nimble/log_level_filtering' into 'nimble-1.2.0-idf
Entering 'components/cbor/tinycbor
HEAD is Now at d2dd95c Fix compilation error in the documentatio
Entering 'components/coap/libcoap
error: unable to create symlink README: Permission denie
error: unable to create symlink examples/contiki/coap_config.h: Permission denie
error: unable to create symlink examples/lwip/coap_config.h: Permission denie
fatal: Could not reset index file to revision 'HEAD'
fatal: run_command returned non-zero status for components/coap/libcoa
2021-01-22 13:43:56.589 --------
2021-01-22 13:43:56.589 Message Box (OK):
Installation has Failed with exit code 128
2021-01-22 14:55:39.090 User chose OK.
2021-01-22 14:55:39.094 Message Box (Yes/No):
Installation log has been created,it may contain more @R_294_4045@ion about the problem.
display the installation log Now?
2021-01-22 14:55:41.155 User chose Yes.
2021-01-22 14:55:41.186 CurStepChanged raised an exception.
2021-01-22 14:55:41.213 Need to restart Windows? No
2021-01-22 14:55:41.221 Exception message:
2021-01-22 14:55:41.221 Message Box (OK):
Out Of Range.
2021-01-22 14:55:41.258 User chose OK.
2021-01-22 14:55:41.260 Deinitializing Setup.
什么意思?安装正确与否?
PS:我尝试了 esp-idf 的 V4.1 和 V3.3 发布版本,但结尾相同。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)