Arduino: "/bin/xtensa-lx106-elf-g++": file does not exist -using staging

Created on 17 Dec 2015  ·  11Comments  ·  Source: esp8266/Arduino

exec: "/bin/xtensa-lx106-elf-g++": file does not exist

why is it using relative pathing , i have no idea where it is looking, tried running filemon, and didn't find it.

Arduino: 1.6.6 (Windows 7), Board: "Adafruit HUZZAH ESP8266, 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

C:\bin\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\bin\Arduino\hardware" -hardware "C:\Users\USERNAME\AppData\Local\Arduino15\packages" -tools "C:\bin\Arduino\tools-builder" -tools "C:\bin\Arduino\hardware\tools\avr" -tools "C:\Users\USERNAME\AppData\Local\Arduino15\packages" -built-in-libraries "C:\bin\Arduino\libraries" -libraries "C:\Users\USERNAME\Documents\projects\arduino\sketches\libraries" -fqbn=esp8266:esp8266:huzzah:CpuFrequency=80,UploadTool=esptool,UploadSpeed=115200,FlashSize=4M3M -ide-version=10606 -build-path "C:\Users\USERNAME\AppData\Local\Temp\build5b7afb42f1d9d91f581a9217a8885356.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\USERNAME\Documents\projects\arduino\sketches\AutoConnect\AutoConnect.ino"
C:\bin\Arduino\arduino-builder -compile -logger=machine -hardware "C:\bin\Arduino\hardware" -hardware "C:\Users\USERNAME\AppData\Local\Arduino15\packages" -tools "C:\bin\Arduino\tools-builder" -tools "C:\bin\Arduino\hardware\tools\avr" -tools "C:\Users\USERNAME\AppData\Local\Arduino15\packages" -built-in-libraries "C:\bin\Arduino\libraries" -libraries "C:\Users\USERNAME\Documents\projects\arduino\sketches\libraries" -fqbn=esp8266:esp8266:huzzah:CpuFrequency=80,UploadTool=esptool,UploadSpeed=115200,FlashSize=4M3M -ide-version=10606 -build-path "C:\Users\USERNAME\AppData\Local\Temp\build5b7afb42f1d9d91f581a9217a8885356.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\USERNAME\Documents\projects\arduino\sketches\AutoConnect\AutoConnect.ino"
"/bin/xtensa-lx106-elf-g++" -w -x c++ -M -MG -MP -DF_CPU=80000000L -DARDUINO=10606 -DARDUINO_ESP8266_ESP12 -DARDUINO_ARCH_ESP8266  -DESP8266 "-IC:\Users\USERNAME\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0-rc2\cores\esp8266" "-IC:\Users\USERNAME\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0-rc2\variants\adafruit" "C:\Users\USERNAME\AppData\Local\Temp\build5b7afb42f1d9d91f581a9217a8885356.tmp\sketch\AutoConnect.ino.cpp"
exec: "/bin/xtensa-lx106-elf-g++": file does not exist
Error compiling.

Most helpful comment

@Sheep666 I solved this by updating Arduino IDE to 1.8.4, deleting 'esp8266' folder from sketchbook/hardware and then following these instructions.

Installing with Boards Manager

Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).

  • Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).

All 11 comments

for reference
I installed stable into esp8266com/
oops

@tablatronix , did you solve that error??

Yeah I had accidently installed stable into the path for dev, i guess its hardcoded somewhere to esp8266 and not esp8266com/

@tablatronix Hello,I also got this issue.
Can u tell how to solve it?
Appreciated!

@Sheep666 I solved this by updating Arduino IDE to 1.8.4, deleting 'esp8266' folder from sketchbook/hardware and then following these instructions.

Installing with Boards Manager

Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).

  • Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at the Arduino website.
  • Start Arduino and open Preferences window.
  • Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).

Hello all,
Im taking the following message from the IDE ... When Im trying to compile a code related to the ESP8266 wifi module

////
Arduino: 1.8.5 (Windows 8.1), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"
//////

exec: "C:\Users\doesn't matter\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++": file does not exist
Error compiling for board Generic ESP8266 Module.

I've suffered so much trying to solve this problem ,,, advice ??

Any body can help?

exec: "/bin/xtensa-lx106-elf-g++": file does not exist
Error compiling.

cd tools
./get.py

@samshum2 I'm getting the exact same error message on OSX with the latest IDE and ESP-12E. What's the solution?

ok thanks.

Artemis-Wynk notifications@github.com 於 2020年1月29日 週三 上午11:41寫道:

@samshum2 https://github.com/samshum2 I'm getting the exact same error
message on OSX with the latest IDE and ESP-12E. What's the solution?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/esp8266/Arduino/issues/1241?email_source=notifications&email_token=AJMAKUEQPNE6H6ZD5ALPYK3RAD3HRA5CNFSM4BW665YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKF2RAI#issuecomment-579577985,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJMAKUGP45FEIWJVN7SFCYTRAD3HRANCNFSM4BW665YA
.

--
Best Regards,
Tang

Was this page helpful?
0 / 5 - 0 ratings