Problem with the installation ESP32
-
- Valued Contributor
- Posts: 411
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 76 times
- Been thanked: 226 times
Re: Problem with the installation ESP32
Just to repeat and add to Steve's comment and what others have said. Can you try disabling antivirus? The last error you reported indicated that the installer couldn't find xcopy. Maybe antivirus is blocking it, or perhaps a Windows path problem?
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Problem with the installation ESP32
2022-02-23 12:10:47.602 Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2 to C:\ESP-IDF
2022-02-23 12:10:47.711 Done, exit code=1
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Running command: cmd.exe /c ""xcopy" /s /e /i /h /q "C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2" "C:\ESP-IDF""
Der Befehl ""xcopy"" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Message box (OK):
Installation has failed with exit code 1
Hello LeighM
Without antivirus software this time.
Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\.
the path is created but the directory is empty.
the Ortner esp-idf-v4.1.2 is not there.
something is wrong here or?
022-02-23 12:10:18.742 Extracting temporary file: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe
2022-02-23 12:10:18.820 Extracting ESP-IDF reference repository: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe x -oC:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp -r -aoa "C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip"
2022-02-23 12:10:18.820 Reference repository path: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2
2022-02-23 12:10:47.602 Done, exit code=0
2022-02-23 12:10:47.602 --------
2022-02-23 12:10:47.602 Running command: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe x -oC:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp -r -aoa "C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip"
7-Zip (a) 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 601493656 bytes (574 MiB)
Extracting archive: C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip
--
Path = C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip
Type = zip
Physical Size = 601493656
Please make a new suggestion
SpeedPic32
2022-02-23 12:10:47.711 Done, exit code=1
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Running command: cmd.exe /c ""xcopy" /s /e /i /h /q "C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2" "C:\ESP-IDF""
Der Befehl ""xcopy"" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Message box (OK):
Installation has failed with exit code 1
Hello LeighM
Without antivirus software this time.
Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\.
the path is created but the directory is empty.
the Ortner esp-idf-v4.1.2 is not there.
something is wrong here or?
022-02-23 12:10:18.742 Extracting temporary file: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe
2022-02-23 12:10:18.820 Extracting ESP-IDF reference repository: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe x -oC:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp -r -aoa "C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip"
2022-02-23 12:10:18.820 Reference repository path: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2
2022-02-23 12:10:47.602 Done, exit code=0
2022-02-23 12:10:47.602 --------
2022-02-23 12:10:47.602 Running command: C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\7za.exe x -oC:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp -r -aoa "C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip"
7-Zip (a) 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 601493656 bytes (574 MiB)
Extracting archive: C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip
--
Path = C:\esp-idf-tools\releases\esp-idf-v4.1.2.zip
Type = zip
Physical Size = 601493656
Please make a new suggestion
SpeedPic32
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Problem with the installation ESP32
2022-02-23 12:10:47.602 Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2 to C:\ESP-IDF
2022-02-23 12:10:47.711 Done, exit code=1
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Running command: cmd.exe /c ""xcopy" /s /e /i /h /q "C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2" "C:\ESP-IDF""
Der Befehl ""xcopy"" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
The command ""xcopy"" is either misspelled or
could not be found.
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Message box (OK):
Installation has failed with exit code 1
Hello LeighM
Without antivirus software this time.
Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\.
the path is created but the directory is empty.
the Ortner esp-idf-v4.1.2 is not there.
Please make a new suggestion
SpeedPic32
2022-02-23 12:10:47.711 Done, exit code=1
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Running command: cmd.exe /c ""xcopy" /s /e /i /h /q "C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\esp-idf-v4.1.2" "C:\ESP-IDF""
Der Befehl ""xcopy"" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
The command ""xcopy"" is either misspelled or
could not be found.
2022-02-23 12:10:47.711 --------
2022-02-23 12:10:47.711 Message box (OK):
Installation has failed with exit code 1
Hello LeighM
Without antivirus software this time.
Copying C:\Users\uwe\AppData\Local\Temp\is-05PVS.tmp\.
the path is created but the directory is empty.
the Ortner esp-idf-v4.1.2 is not there.
Please make a new suggestion
SpeedPic32
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
Re: Problem with the installation ESP32
More things that might help us collectively solve this problem:
Please open a command prompt in Windows (e.g. right-click start menu, select "run", then type "cmd", then click "OK"). Then at the prompt, please type "xcopy" and press enter. You should see the message "Invalid number of parameters".
Also at the command prompt, please type "path" and press enter. This will display your current PATH system variable. Please share that here as it may help.
Please open a command prompt in Windows (e.g. right-click start menu, select "run", then type "cmd", then click "OK"). Then at the prompt, please type "xcopy" and press enter. You should see the message "Invalid number of parameters".
Also at the command prompt, please type "path" and press enter. This will display your current PATH system variable. Please share that here as it may help.
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Problem with the installation ESP32
Microsoft Windows [Version 10.0.19044.1526]
(c) Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\uwe>xcopy
Der Befehl "xcopy" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
"The command ""xcopy"" is either misspelled or
could not be found."
C:\Users\uwe>path
PATH=C:\Program Files\Git\cmd;C:\Users\uwe\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\uwe\AppData\Local\Programs\Python\Python37\
C:\Users\uwe>
(c) Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\uwe>xcopy
Der Befehl "xcopy" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
"The command ""xcopy"" is either misspelled or
could not be found."
C:\Users\uwe>path
PATH=C:\Program Files\Git\cmd;C:\Users\uwe\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\uwe\AppData\Local\Programs\Python\Python37\
C:\Users\uwe>
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
Re: Problem with the installation ESP32
Thanks. LeighM was correct - there is a problem with your PATH.
Xcopy.exe is located under "C:\Windows\system32\", so that needs to also be in your PATH. You can edit PATH in Windows Settings in "Edit the system environment variables".
There may be some more PATH entries missing which are important for the ESP32 toolchain.
Xcopy.exe is located under "C:\Windows\system32\", so that needs to also be in your PATH. You can edit PATH in Windows Settings in "Edit the system environment variables".
There may be some more PATH entries missing which are important for the ESP32 toolchain.
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Problem with the installation ESP32
Hello Steve-Matrix
what i don't understand, aren't the paths created by the installation?
Which paths do I have to enter?
greetings
SpeedPic32
what i don't understand, aren't the paths created by the installation?
Which paths do I have to enter?
greetings
SpeedPic32
-
- Valued Contributor
- Posts: 411
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 76 times
- Been thanked: 226 times
Re: Problem with the installation ESP32
An installer sometimes adds to PATH.
Looks like your defaults have been deleted at some point.
As Steve said
Looks like your defaults have been deleted at some point.
As Steve said
Xcopy.exe is located under "C:\Windows\system32\", so that needs to also be in your PATH
-
- Posts: 260
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Problem with the installation ESP32
Hello LeighM
The installation has now worked.
Now I have the old problem again....
Adding ESP-IDF tools to PATH...
C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\esp-idf-tools\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\esp-idf-tools\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\esp-idf-tools\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\esp-idf-tools\tools\cmake\3.13.4\bin
C:\esp-idf-tools\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
C:\esp-idf-tools\tools\ninja\1.9.0\
C:\esp-idf-tools\tools\idf-exe\1.0.1\
C:\esp-idf-tools\tools\ccache\3.7\
C:\esp-idf-tools\python_env\idf4.1_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[0/1] Re-running CMake...
FAILED: build.ninja
C:\Users\uwe\.espressif\tools\cmake\3.13.4\bin\cmake.exe -SC:\Users\uwe\Documents\Daten\Matrix\DSTIKE -BC:\Users\uwe\Documents\Daten\Matrix\DSTIKE\build
CreateProcess failed: The system cannot find the file specified.
ninja: error: rebuilding 'build.ninja': subcommand failed
Executing action: all (aliases: build)
Running ninja in directory c:\users\uwe\documents\daten\matrix\dstike\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
Greetings SpeedPic32
The installation has now worked.
Now I have the old problem again....
Adding ESP-IDF tools to PATH...
C:\esp-idf-tools\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\esp-idf-tools\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\esp-idf-tools\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\esp-idf-tools\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\esp-idf-tools\tools\cmake\3.13.4\bin
C:\esp-idf-tools\tools\openocd-esp32\v0.10.0-esp32-20210401\openocd-esp32\bin
C:\esp-idf-tools\tools\ninja\1.9.0\
C:\esp-idf-tools\tools\idf-exe\1.0.1\
C:\esp-idf-tools\tools\ccache\3.7\
C:\esp-idf-tools\python_env\idf4.1_py3.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[0/1] Re-running CMake...
FAILED: build.ninja
C:\Users\uwe\.espressif\tools\cmake\3.13.4\bin\cmake.exe -SC:\Users\uwe\Documents\Daten\Matrix\DSTIKE -BC:\Users\uwe\Documents\Daten\Matrix\DSTIKE\build
CreateProcess failed: The system cannot find the file specified.
ninja: error: rebuilding 'build.ninja': subcommand failed
Executing action: all (aliases: build)
Running ninja in directory c:\users\uwe\documents\daten\matrix\dstike\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
Greetings SpeedPic32
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
Re: Problem with the installation ESP32
Do you get the same error when compiling a blank (i.e. new) project? If not, please post the full list of messages from the compiler and also your project.