Cant finish IDF installation win 10 64

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Cant finish IDF installation win 10 64

Postby Duhjoker » Tue Jan 16, 2018 5:40 am

hi guys

I'm trying to install the idf onto my computer running windows 10 64bit. I followed the links for installation from the git hub page.

https://esp-idf.readthedocs.io/en/lates ... setup.html

ive downloaded and unzipped the tool chain and I got to next steps and followed that link....

https://esp-idf.readthedocs.io/en/lates ... et-esp-idf

now I paste this in to the msys2

Code: Select all

cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git

that does fine but when I paste the next git I get errors.

Code: Select all

cd ~/esp/esp-idf
git submodule update --init
it says it has an idf directory and its full but there is no such directory on my computer

Code: Select all

Copying skeleton files.
These files are for the users to personalise their msys2 experience.

They will never be overwritten nor automatically updated.

'./.bashrc' -> '/home/Duhjoker//.bashrc'
'./.bash_logout' -> '/home/Duhjoker//.bash_logout'
'./.bash_profile' -> '/home/Duhjoker//.bash_profile'
'./.inputrc' -> '/home/Duhjoker//.inputrc'
'./.profile' -> '/home/Duhjoker//.profile'
'./.vimrc' -> '/home/Duhjoker//.vimrc'

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git clone --recursive https://github.com/espressif/esp-idf.git
Cloning into 'esp-idf'...
remote: Counting objects: 42854, done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 42854 (delta 120), reused 155 (delta 77), pack-reused 42606
Receiving objects: 100% (42854/42854), 49.84 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (30011/30011), done.
Submodule 'components/aws_iot/aws-iot-device-sdk-embedded-C' (https://github.com/espressif/aws-iot-device-sdk-embedded-C.git) registered for path 'components/aws_iot/aws-iot-device-sdk-embedded-C'
Submodule 'components/bt/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/lib'
Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap'
Submodule 'components/esp32/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp32/lib'
Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'components/esptool_py/esptool'
Submodule 'components/libsodium/libsodium' (https://github.com/jedisct1/libsodium.git) registered for path 'components/libsodium/libsodium'
Submodule 'components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/micro-ecc/micro-ecc'
Submodule 'components/nghttp/nghttp2' (https://github.com/nghttp2/nghttp2.git) registered for path 'components/nghttp/nghttp2'
Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs'
Cloning into '/home/Duhjoker/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
remote: Counting objects: 1034, done.
remote: Total 1034 (delta 0), reused 0 (delta 0), pack-reused 1033
Receiving objects: 100% (1034/1034), 829.49 KiB | 181.00 KiB/s, done.
Resolving deltas: 100% (531/531), done.
Cloning into '/home/Duhjoker/esp-idf/components/bt/lib'...
remote: Counting objects: 211, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 211 (delta 0), reused 1 (delta 0), pack-reused 208
Receiving objects: 100% (211/211), 1.06 MiB | 772.00 KiB/s, done.
Resolving deltas: 100% (123/123), done.
Cloning into '/home/Duhjoker/esp-idf/components/coap/libcoap'...
remote: Counting objects: 5441, done.
remote: Total 5441 (delta 0), reused 0 (delta 0), pack-reused 5441
Receiving objects: 100% (5441/5441), 1.97 MiB | 1.34 MiB/s, done.
Resolving deltas: 100% (3828/3828), done.
Cloning into '/home/Duhjoker/esp-idf/components/esp32/lib'...
remote: Counting objects: 2423, done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 2423 (delta 53), reused 49 (delta 27), pack-reused 2345
Receiving objects: 100% (2423/2423), 32.41 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (1898/1898), done.
Cloning into '/home/Duhjoker/esp-idf/components/esptool_py/esptool'...
remote: Counting objects: 1503, done.
remote: Total 1503 (delta 0), reused 0 (delta 0), pack-reused 1503
Receiving objects: 100% (1503/1503), 4.98 MiB | 315.00 KiB/s, done.
Resolving deltas: 100% (912/912), done.
Cloning into '/home/Duhjoker/esp-idf/components/libsodium/libsodium'...
remote: Counting objects: 26660, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 26660 (delta 10), reused 17 (delta 4), pack-reused 26626
Receiving objects: 100% (26660/26660), 6.65 MiB | 794.00 KiB/s, done.
Resolving deltas: 100% (15519/15519), done.
Cloning into '/home/Duhjoker/esp-idf/components/micro-ecc/micro-ecc'...
remote: Counting objects: 1086, done.
remote: Total 1086 (delta 0), reused 0 (delta 0), pack-reused 1086
Receiving objects: 100% (1086/1086), 647.95 KiB | 843.00 KiB/s, done.
Resolving deltas: 100% (637/637), done.
Cloning into '/home/Duhjoker/esp-idf/components/nghttp/nghttp2'...
remote: Counting objects: 37921, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 37921 (delta 9), reused 13 (delta 5), pack-reused 37893
Receiving objects: 100% (37921/37921), 29.05 MiB | 982.00 KiB/s, done.
Resolving deltas: 100% (28165/28165), done.
Cloning into '/home/Duhjoker/esp-idf/components/spiffs/spiffs'...
remote: Counting objects: 1449, done.
remote: Total 1449 (delta 0), reused 0 (delta 0), pack-reused 1449
Receiving objects: 100% (1449/1449), 986.17 KiB | 1.28 MiB/s, done.
Resolving deltas: 100% (1015/1015), done.
Submodule path 'components/aws_iot/aws-iot-device-sdk-embedded-C': checked out '7132505b00d2dd57f48478e75efa636021919aae'
Submodule path 'components/bt/lib': checked out '1b59f85d078347916d7f1271858cf29edf320f6d'
Submodule path 'components/coap/libcoap': checked out '6468887a12666f88b8704d797fc176cd4f40ee4c'
Submodule path 'components/esp32/lib': checked out 'c19d8c7a6c8aa5884612c691262b6125327e0bca'
Submodule path 'components/esptool_py/esptool': checked out '4dab24e1b28632d270adf7305fe0d008d1acee99'
Submodule path 'components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc'
Submodule path 'components/micro-ecc/micro-ecc': checked out '14222e062d77f45321676e813d9525f32a88e8fa'
Submodule path 'components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032'
Submodule 'third-party/mruby' (https://github.com/mruby/mruby) registered for path 'components/nghttp/nghttp2/third-party/mruby'
Submodule 'third-party/neverbleed' (https://github.com/h2o/neverbleed.git) registered for path 'components/nghttp/nghttp2/third-party/neverbleed'
Cloning into '/home/Duhjoker/esp-idf/components/nghttp/nghttp2/third-party/mruby'...
remote: Counting objects: 43261, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 43261 (delta 52), reused 115 (delta 52), pack-reused 43123
Receiving objects: 100% (43261/43261), 9.99 MiB | 661.00 KiB/s, done.
Resolving deltas: 100% (27024/27024), done.
Cloning into '/home/Duhjoker/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'...
remote: Counting objects: 181, done.
remote: Total 181 (delta 0), reused 0 (delta 0), pack-reused 181
Receiving objects: 100% (181/181), 54.99 KiB | 433.00 KiB/s, done.
Resolving deltas: 100% (107/107), done.
Submodule path 'components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de'
Submodule path 'components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134'
Submodule path 'components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c'

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git submodule update --init

fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ /esp/esp-idf
-bash: /esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cp -r $IDF_PATH/examples/get-started/hello_world .
cp: cannot stat '/examples/get-started/hello_world': No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ git clone --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$

Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Cant finish IDF installation win 10 64

Postby WiFive » Tue Jan 16, 2018 5:47 am

You never made an esp directory in your home directory. So your idf is at ~/esp-idf/

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Re: Cant finish IDF installation win 10 64

Postby Duhjoker » Tue Jan 16, 2018 5:59 am

So I just simply need to make folder in my c root directory called "esp-idf"
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Cant finish IDF installation win 10 64

Postby WiFive » Tue Jan 16, 2018 7:36 am

No, in mingw ~/ is the users home directory. You better go study up on mingw environment and Linux command line in general. And don't just ignore errors like -bash: cd: /home/Duhjoker/esp: No such file or directory.

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Re: Cant finish IDF installation win 10 64

Postby Duhjoker » Tue Jan 16, 2018 8:26 am

I use pi so I'm kind of used it but its been a while.


Ok I ended up changing the path to C:/ where the esp-if folder is and did the git. I think it worked since the esp-idf folder is full now. But when I go to add the second git

Code: Select all

cd ~/esp/esp-idf
git submodule update --init
it gives me the bash cd: no such file or directory. but if I type dir you plainly see its there

I looked up -bash cd:no such directory mingw32 and I'm not seeing any thing about mingw32

Code: Select all

Copying skeleton files.
These files are for the users to personalise their msys2 experience.

They will never be overwritten nor automatically updated.

'./.bashrc' -> '/home/Duhjoker//.bashrc'
'./.bash_logout' -> '/home/Duhjoker//.bash_logout'
'./.bash_profile' -> '/home/Duhjoker//.bash_profile'
'./.inputrc' -> '/home/Duhjoker//.inputrc'
'./.profile' -> '/home/Duhjoker//.profile'
'./.vimrc' -> '/home/Duhjoker//.vimrc'

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd /esp
-bash: cd: /esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd c
-bash: cd: c: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 ~
$ cd /c

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp
-bash: cd: /esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd ~/esp
-bash: cd: /home/Duhjoker/esp: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ git clone --recursive https://github.com/espressif/esp-idf.git
Cloning into 'esp-idf'...
remote: Counting objects: 42854, done.
remote: Compressing objects: 100% (162/162), done.
remote: Total 42854 (delta 120), reused 155 (delta 77), pack-reused 42606
Receiving objects: 100% (42854/42854), 49.84 MiB | 1.04 MiB/s, done.
Resolving deltas: 100% (30011/30011), done.
Submodule 'components/aws_iot/aws-iot-device-sdk-embedded-C' (https://github.com/espressif/aws-iot-device-sdk-embedded-C.git) registered for path 'components/aws_iot/aws-iot-device-sdk-embedded-C'
Submodule 'components/bt/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/lib'
Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap'
Submodule 'components/esp32/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp32/lib'
Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'components/esptool_py/esptool'
Submodule 'components/libsodium/libsodium' (https://github.com/jedisct1/libsodium.git) registered for path 'components/libsodium/libsodium'
Submodule 'components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/micro-ecc/micro-ecc'
Submodule 'components/nghttp/nghttp2' (https://github.com/nghttp2/nghttp2.git) registered for path 'components/nghttp/nghttp2'
Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs'
Cloning into '/c/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
remote: Counting objects: 1034, done.
remote: Total 1034 (delta 0), reused 0 (delta 0), pack-reused 1033
Receiving objects: 100% (1034/1034), 829.49 KiB | 1012.00 KiB/s, done.
Resolving deltas: 100% (531/531), done.
Cloning into '/c/esp-idf/components/bt/lib'...
remote: Counting objects: 211, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 211 (delta 0), reused 1 (delta 0), pack-reused 208
Receiving objects: 100% (211/211), 1.06 MiB | 814.00 KiB/s, done.
Resolving deltas: 100% (123/123), done.
Cloning into '/c/esp-idf/components/coap/libcoap'...
remote: Counting objects: 5441, done.
remote: Total 5441 (delta 0), reused 0 (delta 0), pack-reused 5441
Receiving objects: 100% (5441/5441), 1.97 MiB | 1004.00 KiB/s, done.
Resolving deltas: 100% (3828/3828), done.
Cloning into '/c/esp-idf/components/esp32/lib'...
remote: Counting objects: 2423, done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 2423 (delta 53), reused 49 (delta 27), pack-reused 2345
Receiving objects: 100% (2423/2423), 32.41 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (1898/1898), done.
Cloning into '/c/esp-idf/components/esptool_py/esptool'...
remote: Counting objects: 1503, done.
remote: Total 1503 (delta 0), reused 0 (delta 0), pack-reused 1503
Receiving objects: 100% (1503/1503), 4.98 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (912/912), done.
Cloning into '/c/esp-idf/components/libsodium/libsodium'...
remote: Counting objects: 26660, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 26660 (delta 10), reused 17 (delta 4), pack-reused 26626
Receiving objects: 100% (26660/26660), 6.65 MiB | 875.00 KiB/s, done.
Resolving deltas: 100% (15519/15519), done.
Cloning into '/c/esp-idf/components/micro-ecc/micro-ecc'...
remote: Counting objects: 1086, done.
remote: Total 1086 (delta 0), reused 0 (delta 0), pack-reused 1086
Receiving objects: 100% (1086/1086), 647.95 KiB | 810.00 KiB/s, done.
Resolving deltas: 100% (637/637), done.
Cloning into '/c/esp-idf/components/nghttp/nghttp2'...
remote: Counting objects: 37921, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 37921 (delta 9), reused 13 (delta 5), pack-reused 37893
Receiving objects: 100% (37921/37921), 29.05 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (28165/28165), done.
Cloning into '/c/esp-idf/components/spiffs/spiffs'...
remote: Counting objects: 1449, done.
remote: Total 1449 (delta 0), reused 0 (delta 0), pack-reused 1449
Receiving objects: 100% (1449/1449), 986.17 KiB | 1.04 MiB/s, done.
Resolving deltas: 100% (1015/1015), done.
Submodule path 'components/aws_iot/aws-iot-device-sdk-embedded-C': checked out '7132505b00d2dd57f48478e75efa636021919aae'
Submodule path 'components/bt/lib': checked out '1b59f85d078347916d7f1271858cf29edf320f6d'
Submodule path 'components/coap/libcoap': checked out '6468887a12666f88b8704d797fc176cd4f40ee4c'
Submodule path 'components/esp32/lib': checked out 'c19d8c7a6c8aa5884612c691262b6125327e0bca'
Submodule path 'components/esptool_py/esptool': checked out '4dab24e1b28632d270adf7305fe0d008d1acee99'
Submodule path 'components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc'
Submodule path 'components/micro-ecc/micro-ecc': checked out '14222e062d77f45321676e813d9525f32a88e8fa'
Submodule path 'components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032'
Submodule 'third-party/mruby' (https://github.com/mruby/mruby) registered for path 'components/nghttp/nghttp2/third-party/mruby'
Submodule 'third-party/neverbleed' (https://github.com/h2o/neverbleed.git) registered for path 'components/nghttp/nghttp2/third-party/neverbleed'
Cloning into '/c/esp-idf/components/nghttp/nghttp2/third-party/mruby'...
remote: Counting objects: 43274, done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 43274 (delta 57), reused 125 (delta 57), pack-reused 43123
Receiving objects: 100% (43274/43274), 10.03 MiB | 825.00 KiB/s, done.
Resolving deltas: 100% (27029/27029), done.
Cloning into '/c/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'...
remote: Counting objects: 181, done.
remote: Total 181 (delta 0), reused 0 (delta 0), pack-reused 181
Receiving objects: 100% (181/181), 54.99 KiB | 750.00 KiB/s, done.
Resolving deltas: 100% (107/107), done.
Submodule path 'components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de'
Submodule path 'components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134'
Submodule path 'components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c'

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp_idf
-bash: cd: /esp_idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp-idf
-bash: cd: /esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ dir
$RECYCLE.BIN
$SysReset
$WINDOWS.~BT
Apps
backup
bootmgr
Config.Msi
Dell
Documents\ and\ Settings
Drivers
esp
esp32_win32_msys2_environment_and_toolchain-20180110.zip
esp-idf
Installation
Intel
msys32
pagefile.sys
PerfLogs
Program\ Files
Program\ Files\ (x86)
ProgramData
Python27
Recovery
swapfile.sys
System\ Volume\ Information
Users
Windows
Windows.old

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp-idf
-bash: cd: /esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ /esp-idf
-bash: /esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd ~/esp/esp-idf
-bash: cd: /home/Duhjoker/esp/esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp-idf
-bash: cd: /esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ git submodule update --init
fatal: Not a git repository (or any of the parent directories): .git

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp-idf git submodule update --init
-bash: cd: too many arguments

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ cd /esp-idf
-bash: cd: /esp-idf: No such file or directory

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$ dir
$RECYCLE.BIN
$SysReset
$WINDOWS.~BT
Apps
backup
bootmgr
Config.Msi
Dell
Documents\ and\ Settings
Drivers
esp
esp32_win32_msys2_environment_and_toolchain-20180110.zip
esp-idf
Installation
Intel
msys32
pagefile.sys
PerfLogs
Program\ Files
Program\ Files\ (x86)
ProgramData
Python27
Recovery
swapfile.sys
System\ Volume\ Information
Users
Windows
Windows.old

Duhjoker@DESKTOP-3CJM876 MINGW32 /c
$

Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Cant finish IDF installation win 10 64

Postby WiFive » Tue Jan 16, 2018 8:51 am

You're still just guessing, not trying to actually learn command line. No shortcuts! Read a book!

You can't put a slash in front of the directory name if you are trying to cd to a subdirectory

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Re: Cant finish IDF installation win 10 64

Postby Duhjoker » Tue Jan 16, 2018 9:42 am

I'm starting to figure it out again besides using cl for my pi, my first computer was a 286. I'm just rusty. Ok I'm trying to do the hello world program. I'm in msys32 and I have navigated the hello_world directory. When I try to do make menu config I get these errors...

Code: Select all

Duhjoker@DESKTOP-3CJM876 MINGW32 /c/esp-idf/examples/get-started/hello_world
$  make menuconfig
Makefile:8: /make/project.mk: No such file or directory
make: *** No rule to make target '/make/project.mk'.  Stop.
and when I try to copy the file from inside the same directory

Code: Select all

Duhjoker@DESKTOP-3CJM876 MINGW32 /c/esp-idf/examples/get-started/hello_world
$ cp -r hello_world .
cp: cannot stat 'hello_world': No such file or directory

did I miss a step?
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

Duhjoker
Posts: 85
Joined: Mon Mar 20, 2017 8:09 am

Re: Cant finish IDF installation win 10 64

Postby Duhjoker » Tue Jan 16, 2018 11:09 pm

ok did I miss a step or is it my command line skills still out of whack
Fear is the mind killer.......

GameR the DIY iot gaming device that does more......
https://github.com/Duhjoker/GameR-Iot_ESP

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Cant finish IDF installation win 10 64

Postby WiFive » Wed Jan 17, 2018 5:50 am

All of the above 8-)

Dimi_Island
Posts: 2
Joined: Sun Dec 19, 2021 2:19 am

Re: Cant finish IDF installation win 10 64

Postby Dimi_Island » Mon Dec 20, 2021 7:38 pm

Hello,
I had installed sdk-idf 4.2 on my Windows 10 64bit computer, so I tried to install version 3.3.2 again and it always gives the same error.
Follow the steps I've done so far and the error generated:
1° Download the toolchain and unzip the file in the directory C:\:
# https://dl.espressif.com/dl/esp32_win32 ... 200601.zip
# 2nd Open the msys32.exe program as C:\msys32\mingw32.exe and run the command:

Code: Select all

$mkdir -p ~/esp
# ————————————————————
# 3° Download SDK-IDF version 3.3.2:
# ————————————————————

Code: Select all

$cd~/esp
$ git clone -b v3.3.2 --recursive https://github.com/espressif/esp-idf.git
fatal: destination path 'esp-idf' already exists and is not an empty directory.
But my esp-idf directory is empty, I uninstalled all SDK-IDF from previous versions and started this installation from scratch.
Can anyone help me explaining what might be causing this error?
Thank you so much.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 71 guests