Let me start with my configuration:
Raspberry PI 4 (8GB)
IoTMKR Carrier
MKR WiFi 1010
Running from the IDE, not from the web editor as I can't get the Create agent to load - Different Issue.
Here is the error code I'm getting:
Arduino: 1.8.13 (Linux), Board: "Arduino MKR WiFi 1010"
fork/exec /home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Arduino MKR WiFi 1010.
I'm new to this hardware and software so any and all help would be greatly appreciated.
Thanks
Phil
This error can be caused by something going wrong during a Boards Manager installation. That can often be fixed by manually removing and then re-installing the boards platforms via Boards Manager:
Be aware this will remove any boards you have installed via Boards Manager. They are easy enough to reinstall again though.
Select File > Preferences from the Arduino IDE's menus.
Click the link on the line following "More preferences can be edited directly in the file".
This will open the ~/.arduino15 folder.
Delete all files and folders under the .arduino15 folder except for the preferences.txt file.
Please be very careful when deleting things from your computer. When in doubt, back up!
Now you will need to re-install the boards you just uninstalled:
Select Tools > Board > Boards Manager from the Arduino IDE menus.
Wait for the update to finish.
Select "Arduino SAMD (32-bits ARM Cortex-M0+) Boards" from the list of available boards platforms.
Click the Install button.
Wait for the installation to finish.
Click the Close button.
Now try compiling or uploading your sketch again. Hopefully the error will no longer occur.
Per, I started to advice for platform reinstall, to install an older version in Boards Manager and then back the latest. I got positive feedback in multiple cases.
The reason I don't recommend using the Boards Manager GUI is because this sort of error is often caused by a failed installation that creates the tool folder, but without the tool executable in that folder (/home/pi/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 in this case).
The IDE uses the presence of the tool folder to determine whether it is already installed, so if it sees that empty folder when it is reinstalling then it thinks that the tool is already installed and skips it.
The IDE does do some clean up of installed tools that are no longer used when you do an update or installation, but that will only occur if no other installed platform has a dependency on the tool.
The clean up is also skipped unexpectedly under certain conditions::
So the "blow away Arduino15" fix is the one that works most universally, and thus is well suited for my collection of stock replies. However, it is surely a very drastic approach and likely not a pleasant experience for many. So I think it is reasonable to make some attempts at the more user friendly fixes within the Arduino IDE.
Being so new to both the Arduino and to the Raspberry Pi, I've bitten off a little more than I thought. Getting back to the basics and learning the core of the RaspPi OS. More to follow as I get back up to speed and can be more descriptive and fully comprehend the answer or solution. Thanks, in advance, with all your efforts.
OK. I'm sorry that your first experience with Arduino was not so smooth as we would hope for it to be.
For most people, it does provide a very gentle learning curve where they are blinking an LED on their Arduino board within 10 minutes, but unfortunately there are some fairly rare glitches that give the unfortunate few some headaches before they can get started on the fun.
Anyway, we are always here to help out as best we can.