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

perigalacticon
Posts: 15
Joined: Thu Dec 07, 2017 3:59 am

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

Postby perigalacticon » Mon Jan 15, 2018 3:56 pm

I have run get.exe every time. NO success.

perigalacticon
Posts: 15
Joined: Thu Dec 07, 2017 3:59 am

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

Postby perigalacticon » Tue Jan 16, 2018 5:59 pm

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.

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Tue Jan 16, 2018 6:31 pm

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

perigalacticon
Posts: 15
Joined: Thu Dec 07, 2017 3:59 am

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

Postby perigalacticon » Tue Jan 16, 2018 7:51 pm

chegewara - do you have a problem with that?

Rogutek
Posts: 1
Joined: Sat Mar 03, 2018 7:46 am

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

Postby Rogutek » Sat Mar 03, 2018 8:11 am

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.

y1nG_Mr
Posts: 1
Joined: Wed May 23, 2018 1:40 am

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

Postby y1nG_Mr » Wed May 23, 2018 1:46 am

install Arduino\hardware\espressif\esp32\tools\get.exe
hope can help you

StevieWells
Posts: 3
Joined: Tue Mar 19, 2019 11:21 pm

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

Postby StevieWells » Wed Mar 20, 2019 12:24 am

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.

StevieWells
Posts: 3
Joined: Tue Mar 19, 2019 11:21 pm

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

Postby StevieWells » Wed Mar 20, 2019 1:22 am

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.

Who is online

Users browsing this forum: No registered users and 107 guests