arm-none-eabi-g++: no such file or directory

12.2k Views Asked by At

I am trying to upload the "Blink" example to my MKR 1000. However, I keep getting the same error:

fork/exec /Users/username/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory

I have installed the SAMD board from the Board Manager in the IDE, and I also updated GCC-C++ on my machine. I am using a Mac on the Mac Arduino IDE. I have also tried uninstalling and reinstalling the Arduino IDE. I tested my MKR 1000 on another computer, and it worked perfectly. How can I fix this?

2

There are 2 best solutions below

0
On BEST ANSWER

You can delete the following folder:

/Users/username/Library/Arduino15/packages/arduino

And then use the boards manager to reinstall your board package.

0
On

What worked for me (macOS Sonoma 14, Apple silicone) was to install Rosetta 2:

  1. Open Terminal (command+Space, search for Terminal)
  2. Execute softwareupdate --install-rosetta
  3. Reopen Arduino IDE