Page 1 of 1

ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Tue Jan 05, 2021 7:15 pm
by dvcam99
Hello Flow Code Team,

I´m in the phase in order to evaluate the new FC9 Main interest is at the moment the new ESP32 part.

Plan would be to purchase a professional version FC9 because I could upgrade from FC professional.

I´ll tried to install the ESP32 TOOLCHAIN, but it ended up always with the following error message:

Installation has failed with exit code -2

I tried a installation at a WIN8 and a WIN10 PC. Same result, same error code.

May sombody can help.

Attached is the installation log file.

BR and THX in advance

Dirk
Setup Log 2021-01-05 #001.txt
(30.4 KiB) Downloaded 202 times

Re: ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Tue Jan 05, 2021 7:17 pm
by dvcam99
...add on note. A PIC-8 TOOLCHAIN installed correctly and it is possible to compile.

BR

Dirk

Re: ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Tue Jan 05, 2021 8:13 pm
by BenR
Hi Dirk,

Do you already have Python or Git installed on your system?

Googling the problem I found a couple of pages but not sure if they will be helpful.

https://www.esp32.com/viewtopic.php?t=12481

https://github.com/espressif/esp-idf/issues/5979

We have had a report that if running the ESP IDF tools we are hosting is failing then downloading the latest from the Espressif website works ok.

Re: ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Tue Jan 05, 2021 9:08 pm
by dvcam99
Hello Ben,

no I had not installed Git and Pyton at my system.

I´ll try the Espressif version.

BR

Dirk

Re: ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Tue Jan 05, 2021 11:00 pm
by dvcam99
Hi Ben,

I can report succes with Espressif ESP-IDF 4.2.

Build completed successfully

Launching the linker/assembler...


FINISHED


Short workflow how I did it.

1. Downloaded the Version 4.2 from the follwing link:

https://www.espressif.com/en/support/do ... %5B%5D=624

2. Unizip in a working folder an copied the extract in a empty folder i.e. C:\esp-idf

3. Run you installer 2.3 and assigined/use C:\esp-idf as a existing directory

4. Follow all other steps like you have defined in you ESP-IDF installation procedure (PDF document)
https://flowcode.co.uk/wiki/index.php?t ... ctions.pdf

5. Cross Check with the compiler, done!!

BR

Dirk

Re: ESP32 TOOLCHAIN Installation has failed with exit code -2

Posted: Wed Jan 06, 2021 1:42 pm
by BenR
Hi Dirk,

Brilliant good result there, many thanks for letting us know. Really appreciate it :D