xtensa-esp32-elf-g++": file does not exist error; can't compile, please help
-
- 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
I have run get.exe every time. NO success.
-
- 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
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
2 weeks agochegewara wrote:It works.
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.
-
- 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
chegewara - do you have a problem with that?
Re: xtensa-esp32-elf-g++": file does not exist error; can't compile, please help
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.
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
install Arduino\hardware\espressif\esp32\tools\get.exe
hope can help you
hope can help you
-
- 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
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.
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.
-
- 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
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.
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 141 guests