c++arduinoarduino-idearduino-mkr1000

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


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?


Solution

  • You can delete the following folder:

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

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