Page 2 of 2

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Mon Jan 15, 2018 3:56 pm
by perigalacticon
I have run get.exe every time. NO success.

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Tue Jan 16, 2018 5:59 pm
by perigalacticon
Ok, I had to completely delete all of the Arduino folders and everything in them after uninstalling the IDE. Now it is working properly when installed per the directions, although the website STILL incorrectly says the sketchbook directory is C:\Users\[USER NAME]\Documents\Arduino\. Thanks for the help.

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Tue Jan 16, 2018 6:31 pm
by chegewara
chegewara wrote:It works.
arduino.PNG

If you cant make it to work maybe just reinstall arduino and all libraries (espressif/arduino-esp32 too). I know few users that got issues with arduino-ide and they got fresh installations and problems gone.
2 weeks ago

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Tue Jan 16, 2018 7:51 pm
by perigalacticon
chegewara - do you have a problem with that?

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Sat Mar 03, 2018 8:11 am
by Rogutek
I am having this problem as well. error posted below.

Arduino: 1.8.5 (Windows 10), Board: "ESP32 Dev Module, QIO, 80MHz, 4MB (32Mb), 921600, None"

exec: "C:\\Users\\user\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++": file does not exist
Error compiling for board ESP32 Dev Module.

However, "C:\\Users\\user\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++" Does, in fact, exist, and it exists where the client says it should be.

help?

side note, other arduino devices connect and operate normally.

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Wed May 23, 2018 1:46 am
by y1nG_Mr
install Arduino\hardware\espressif\esp32\tools\get.exe
hope can help you

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Wed Mar 20, 2019 12:24 am
by StevieWells
I have tried download/unzip the arduino-esp32.git repository and clone via GUI gui, the result is the same exact folders and files, so I assume that went well.

Executing get.exe always fails:
===========================
System: Windows, Info: Windows-10-10.0.15063
Platform: i686-mingw32
Downloading xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip
Traceback (most recent call last):
File "get.py", line 139, in <module>
sys_name = 'Windows'
File "get.py", line 89, in get_tool
print('Downloading ' + archive_name)
File "site-packages\requests\api.py", line 70, in get
File "site-packages\requests\api.py", line 56, in request
File "site-packages\requests\sessions.py", line 488, in request
File "site-packages\requests\sessions.py", line 609, in send
File "site-packages\requests\adapters.py", line 497, in send
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Failed to execute script get
===========================
I have tried playing with the certificates bundle etc, but am just hacking, does anyone have another way to get the esp32 GCC toolchain?
Simple download link to a zip file perhaps, does not have to be SSL complex, just need to check # code to validate.

Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help

Posted: Wed Mar 20, 2019 1:22 am
by StevieWells
Update on get.exe SSLError

To avoid the get.exe SSLError, just downloaded the xtensa GCC toolchain from here and put in tools folder:
http://domoticx.com/sdk-esp32-xtensa-ar ... toolchain/
unzip and put it in the tools folder e.g:
[user]\Documents\Arduino\hardware\espressif\esp32\tools

You might have to delete Arduino preferences i.e the Arduino15 folder: [user]\AppData\Local\Arduino15 (I needed this)
Now Arduino IDE should start up.

Select tools menu and select target platform "ESP32 dev module" (cos I have it)
BTW selecting the "boards Manager" causes another Java SSL exception.

Trying blink demo:
=====================================
#define led 2

void setup() {
// put your setup code here, to run once:
pinMode(led, OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
}
=======================================

So now I get a compile - the toolchain runs, but simple blink -> "Error compiling for board ESP32 Dev Module"
Nice error message, no indication why, where etc - could it be related to just copying the toolchain, is there some additional setup?
GCC environment, target CPU/Board header files setup perhaps?

All in all, very messy experience under windows 10.
Any help really appreciated.