1
votes

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?

1
Does /Users/username/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ exist?Kevin
@Kevin Thank you for your response. The path does exist, however the file "arm-none-eabi-g++" is not there. I tried to manually download and I put it in there, however it was not able to execute the file.tennis25
This looks like a "How did you install arm-none-eabi-gcc?" Whatever script you are calling that is calling fork/exec /Users/username/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ got the idea that arm-none-eabi-g++ lives there. An installer should not result in that problem. The arm-non-eabi-gcc package contains both arm-non-eabi-gcc and arm-non-eabi-g++David C. Rankin
Thank you @DavidC.Rankin Do you know how I can install 'arm-non-eabi-gcc'?tennis25
Sure, it depends on what OS you are using, but for just about all LInux distributions, you can simply load pre-built packages for it. You can download generic versions for all OSs at GNU Toolchain | GNU-RM Downloads.David C. Rankin

1 Answers

2
votes

You can delete the /Users/username/Library/Arduino15/packages/arduino folder, the use the boards manager to reinstall your board package.