Fresh intall esp-idf error

Sincap
Posts: 1
Joined: Tue Feb 27, 2024 12:53 pm

Fresh intall esp-idf error

Postby Sincap » Tue Feb 27, 2024 12:58 pm

I fresh intalled 4.3.7 and 5.1.2 versions of idf on VScode but it gives out errors. Here the errors for 4.3.7 install:

Code: Select all

esp-idf-v4.3.7.zip progress: 100.00% (1253966.09 / 1253995.05) KB
esp-idf-v4.3.7.zip progress: 100.00% (1253982.09 / 1253995.05) KB
esp-idf-v4.3.7.zip progress: 100.00% (1253995.05 / 1253995.05) KB
Downloaded v4.3.7 (release version). Extracting...

Extracted C:\esp\esp-idf-v4.3.7.zip in C:\esp.


Entering 'components/asio/asio'
Entering 'components/bootloader/subproject/components/micro-ecc/micro-ecc'
Entering 'components/bt/controller/lib_esp32'
Entering 'components/bt/controller/lib_esp32c3_family'
Entering 'components/bt/host/nimble/nimble'
Entering 'components/cbor/tinycbor'
Entering 'components/cmock/CMock'
Entering 'components/cmock/CMock/vendor/c_exception'
Entering 'components/cmock/CMock/vendor/unity'
Entering 'components/coap/libcoap'
Entering 'components/coap/libcoap/ext/tinydtls'
Entering 'components/esp_wifi/lib'
Entering 'components/esptool_py/esptool'
Entering 'components/expat/expat'
Entering 'components/json/cJSON'
Entering 'components/libsodium/libsodium'
Entering 'components/lwip/lwip'
Entering 'components/mbedtls/mbedtls'
Entering 'components/mqtt/esp-mqtt'
Entering 'components/nghttp/nghttp2'
Entering 'components/nghttp/nghttp2/third-party/mruby'
Entering 'components/nghttp/nghttp2/third-party/neverbleed'
Entering 'components/protobuf-c/protobuf-c'
Entering 'components/spiffs/spiffs'
Entering 'components/tinyusb/tinyusb'
Entering 'components/unity/unity'
Entering 'examples/build_system/cmake/import_lib/main/lib/tinyxml2'
Entering 'examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib'


Updating files:   1% (103/8528)
Updating files:   2% (171/8528)
Updating files:   2% (254/8528)
Updating files:   3% (256/8528)
Updating files:   4% (342/8528)
Updating files:   5% (427/8528)
Updating files:   6% (512/8528)
Updating files:   7% (597/8528)
Updating files:   8% (683/8528)
Updating files:   9% (768/8528)
Updating files:  10% (853/8528)
Updating files:  10% (870/8528)
Updating files:  10% (889/8528)
error: unable to create symlink README: Permission denied
error: unable to create symlink examples/contiki/coap_config.h: Permission denied
error: unable to create symlink examples/lwip/coap_config.h: Permission denied
error: Submodule 'components/coap/libcoap' could not be updated.
Updating files:  10% (895/8528)
Updating files:  11% (939/8528)
Updating files:  12% (1024/8528)
Updating files:  13% (1109/8528)
Updating files:  14% (1194/8528)
Updating files:  15% (1280/8528)
Updating files:  16% (1365/8528)
Updating files:  17% (1450/8528)
Updating files:  18% (1536/8528)
Updating files:  19% (1621/8528)
Updating files:  20% (1706/8528)
Updating files:  21% (1791/8528)
Updating files:  22% (1877/8528)
Updating files:  23% (1962/8528)
Updating files:  23% (1979/8528)
Updating files:  24% (2047/8528)
error: unable to create symlink README.md: Permission denied
error: Submodule 'components/expat/expat' could not be updated.
Updating files:  24% (2064/8528)
Updating files:  25% (2132/8528)
Updating files:  26% (2218/8528)
Updating files:  27% (2303/8528)
Updating files:  28% (2388/8528)
Updating files:  29% (2474/8528)
Updating files:  30% (2559/8528)
Updating files:  30% (2625/8528)
Updating files:  30% (2635/8528)
Updating files:  31% (2644/8528)
Updating files:  32% (2729/8528)
Updating files:  32% (2758/8528)
Updating files:  33% (2815/8528)
Updating files:  33% (2888/8528)
Updating files:  34% (2900/8528)
Updating files:  34% (2951/8528)
Updating files:  35% (2985/8528)
Updating files:  36% (3071/8528)
Updating files:  37% (3156/8528)
Updating files:  38% (3241/8528)
Updating files:  39% (3326/8528)
Updating files:  40% (3412/8528)
Updating files:  41% (3497/8528)
Updating files:  42% (3582/8528)
Updating files:  43% (3668/8528)
Updating files:  44% (3753/8528)
Updating files:  44% (3775/8528)
Updating files:  44% (3833/8528)
Updating files:  45% (3838/8528)
Updating files:  46% (3923/8528)
Updating files:  47% (4009/8528)
Updating files:  48% (4094/8528)
Updating files:  49% (4179/8528)
Updating files:  49% (4219/8528)
Updating files:  50% (4264/8528)
Updating files:  51% (4350/8528)
Updating files:  52% (4435/8528)
Updating files:  53% (4520/8528)
Updating files:  54% (4606/8528)
Updating files:  55% (4691/8528)
Updating files:  56% (4776/8528)
Updating files:  57% (4861/8528)
Updating files:  58% (4947/8528)
Updating files:  59% (5032/8528)
Updating files:  60% (5117/8528)
Updating files:  61% (5203/8528)
Updating files:  62% (5288/8528)
Updating files:  63% (5373/8528)
Updating files:  64% (5458/8528)
Updating files:  65% (5544/8528)
Updating files:  66% (5629/8528)
Updating files:  67% (5714/8528)
Updating files:  68% (5800/8528)
Updating files:  69% (5885/8528)
Updating files:  70% (5970/8528)
Updating files:  71% (6055/8528)
Updating files:  71% (6093/8528)
Updating files:  72% (6141/8528)
Updating files:  73% (6226/8528)
Updating files:  74% (6311/8528)
Updating files:  75% (6396/8528)
Updating files:  75% (6472/8528)
Updating files:  76% (6482/8528)
Updating files:  77% (6567/8528)
Updating files:  78% (6652/8528)
Updating files:  79% (6738/8528)
Updating files:  80% (6823/8528)
Updating files:  81% (6908/8528)
Updating files:  82% (6993/8528)
Updating files:  83% (7079/8528)
Updating files:  84% (7164/8528)
Updating files:  85% (7249/8528)
Updating files:  86% (7335/8528)
Updating files:  87% (7420/8528)
Updating files:  88% (7505/8528)
Updating files:  89% (7590/8528)
Updating files:  90% (7676/8528)
Updating files:  91% (7761/8528)
Updating files:  92% (7846/8528)
Updating files:  93% (7932/8528)
Updating files:  94% (8017/8528)
Updating files:  95% (8102/8528)
Updating files:  96% (8187/8528)
Updating files:  97% (8273/8528)
Updating files:  98% (8358/8528)
Updating files:  98% (8402/8528)
Updating files:  99% (8443/8528)
Updating files: 100% (8528/8528)
Updating files: 100% (8528/8528), done.
fatal: Could not reset index file to revision 'HEAD'.
Command failed: "c:\esp\idf_tools\tools\idf-git\2.39.2\cmd\git.exe" reset --hard --recurse-submodule
Updating files:   1% (103/8528)
Updating files:   2% (171/8528)
Updating files:   2% (254/8528)
Updating files:   3% (256/8528)
Updating files:   4% (342/8528)
Updating files:   5% (427/8528)
Updating files:   6% (512/8528)
Updating files:   7% (597/8528)
Updating files:   8% (683/8528)
Updating files:   9% (768/8528)
Updating files:  10% (853/8528)
Updating files:  10% (870/8528)
Updating files:  10% (889/8528)
error: unable to create symlink README: Permission denied
error: unable to create symlink examples/contiki/coap_config.h: Permission denied
error: unable to create symlink examples/lwip/coap_config.h: Permission denied
error: Submodule 'components/coap/libcoap' could not be updated.
Updating files:  10% (895/8528)
Updating files:  11% (939/8528)
Updating files:  12% (1024/8528)
Updating files:  13% (1109/8528)
Updating files:  14% (1194/8528)
Updating files:  15% (1280/8528)
Updating files:  16% (1365/8528)
Updating files:  17% (1450/8528)
Updating files:  18% (1536/8528)
Updating files:  19% (1621/8528)
Updating files:  20% (1706/8528)
Updating files:  21% (1791/8528)
Updating files:  22% (1877/8528)
Updating files:  23% (1962/8528)
Updating files:  23% (1979/8528)
Updating files:  24% (2047/8528)
error: unable to create symlink README.md: Permission denied
error: Submodule 'components/expat/expat' could not be updated.
Updating files:  24% (2064/8528)
Updating files:  25% (2132/8528)
Updating files:  26% (2218/8528)
Updating files:  27% (2303/8528)
Updating files:  28% (2388/8528)
Updating files:  29% (2474/8528)
Updating files:  30% (2559/8528)
Updating files:  30% (2625/8528)
Updating files:  30% (2635/8528)
Updating files:  31% (2644/8528)
Updating files:  32% (2729/8528)
Updating files:  32% (2758/8528)
Updating files:  33% (2815/8528)
Updating files:  33% (2888/8528)
Updating files:  34% (2900/8528)
Updating files:  34% (2951/8528)
Updating files:  35% (2985/8528)
Updating files:  36% (3071/8528)
Updating files:  37% (3156/8528)
Updating files:  38% (3241/8528)
Updating files:  39% (3326/8528)
Updating files:  40% (3412/8528)
Updating files:  41% (3497/8528)
Updating files:  42% (3582/8528)
Updating files:  43% (3668/8528)
Updating files:  44% (3753/8528)
Updating files:  44% (3775/8528)
Updating files:  44% (3833/8528)
Updating files:  45% (3838/8528)
Updating files:  46% (3923/8528)
Updating files:  47% (4009/8528)
Updating files:  48% (4094/8528)
Updating files:  49% (4179/8528)
Updating files:  49% (4219/8528)
Updating files:  50% (4264/8528)
Updating files:  51% (4350/8528)
Updating files:  52% (4435/8528)
Updating files:  53% (4520/8528)
Updating files:  54% (4606/8528)
Updating files:  55% (4691/8528)
Updating files:  56% (4776/8528)
Updating files:  57% (4861/8528)
Updating files:  58% (4947/8528)
Updating files:  59% (5032/8528)
Updating files:  60% (5117/8528)
Updating files:  61% (5203/8528)
Updating files:  62% (5288/8528)
Updating files:  63% (5373/8528)
Updating files:  64% (5458/8528)
Updating files:  65% (5544/8528)
Updating files:  66% (5629/8528)
Updating files:  67% (5714/8528)
Updating files:  68% (5800/8528)
Updating files:  69% (5885/8528)
Updating files:  70% (5970/8528)
Updating files:  71% (6055/8528)
Updating files:  71% (6093/8528)
Updating files:  72% (6141/8528)
Updating files:  73% (6226/8528)
Updating files:  74% (6311/8528)
Updating files:  75% (6396/8528)
Updating files:  75% (6472/8528)
Updating files:  76% (6482/8528)
Updating files:  77% (6567/8528)
Updating files:  78% (6652/8528)
Updating files:  79% (6738/8528)
Updating files:  80% (6823/8528)
Updating files:  81% (6908/8528)
Updating files:  82% (6993/8528)
Updating files:  83% (7079/8528)
Updating files:  84% (7164/8528)
Updating files:  85% (7249/8528)
Updating files:  86% (7335/8528)
Updating files:  87% (7420/8528)
Updating files:  88% (7505/8528)
Updating files:  89% (7590/8528)
Updating files:  90% (7676/8528)
Updating files:  91% (7761/8528)
Updating files:  92% (7846/8528)
Updating files:  93% (7932/8528)
Updating files:  94% (8017/8528)
Updating files:  95% (8102/8528)
Updating files:  96% (8187/8528)
Updating files:  97% (8273/8528)
Updating files:  98% (8358/8528)
Updating files:  98% (8402/8528)
Updating files:  99% (8443/8528)
Updating files: 100% (8528/8528)
Updating files: 100% (8528/8528), done.
fatal: Could not reset index file to revision 'HEAD'.
'openocd' is not recognized as an internal or external command,
operable program or batch file.
Command failed: openocd --version
'openocd' is not recognized as an internal or external command,
operable program or batch file.
Error checking openocd-esp32 version
Error: Command failed: openocd --version
'openocd' is not recognized as an internal or external command,
operable program or batch file.

'esp32s2ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.
Command failed: esp32s2ulp-elf-as --version
'esp32s2ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.
Error checking esp32s2ulp-elf version
Error: Command failed: esp32s2ulp-elf-as --version
'esp32s2ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.

'esp32ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.
Command failed: esp32ulp-elf-as --version
'esp32ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.
Error checking esp32ulp-elf version
Error: Command failed: esp32ulp-elf-as --version
'esp32ulp-elf-as' is not recognized as an internal or external command,
operable program or batch file.

'riscv32-esp-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Command failed: riscv32-esp-elf-gcc --version
'riscv32-esp-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Error checking riscv32-esp-elf version
Error: Command failed: riscv32-esp-elf-gcc --version
'riscv32-esp-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.

'xtensa-esp32s3-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Command failed: xtensa-esp32s3-elf-gcc --version
'xtensa-esp32s3-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Error checking xtensa-esp32s3-elf version
Error: Command failed: xtensa-esp32s3-elf-gcc --version
'xtensa-esp32s3-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.

'xtensa-esp32s2-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Command failed: xtensa-esp32s2-elf-gcc --version
'xtensa-esp32s2-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Error checking xtensa-esp32s2-elf version
Error: Command failed: xtensa-esp32s2-elf-gcc --version
'xtensa-esp32s2-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.

'xtensa-esp32-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Command failed: xtensa-esp32-elf-gcc --version
'xtensa-esp32-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.
Error checking xtensa-esp32-elf version
Error: Command failed: xtensa-esp32-elf-gcc --version
'xtensa-esp32-elf-gcc' is not recognized as an internal or external command,
operable program or batch file.

'idf.py.exe' is not recognized as an internal or external command,
operable program or batch file.
Command failed: idf.py.exe -v
'idf.py.exe' is not recognized as an internal or external command,
operable program or batch file.
Error checking idf-exe version
Error: Command failed: idf.py.exe -v
'idf.py.exe' is not recognized as an internal or external command,
operable program or batch file.

'ninja' is not recognized as an internal or external command,
operable program or batch file.
Command failed: ninja --version
'ninja' is not recognized as an internal or external command,
operable program or batch file.
Error checking ninja version
Error: Command failed: ninja --version
'ninja' is not recognized as an internal or external command,
operable program or batch file.

'ccache.exe' is not recognized as an internal or external command,
operable program or batch file.
Command failed: ccache.exe --version
'ccache.exe' is not recognized as an internal or external command,
operable program or batch file.
Error checking ccache version
Error: Command failed: ccache.exe --version
'ccache.exe' is not recognized as an internal or external command,
operable program or batch file.

'dfu-util' is not recognized as an internal or external command,
operable program or batch file.
Command failed: dfu-util --version
'dfu-util' is not recognized as an internal or external command,
operable program or batch file.
Error checking dfu-util version
Error: Command failed: dfu-util --version
'dfu-util' is not recognized as an internal or external command,
operable program or batch file.

Who is online

Users browsing this forum: Baidu [Spider] and 112 guests