I am using Arduino 1.8.2 on Ubuntu 17.04. I used the Boards Manager to install version 2.0.2 for the Intel Curie Boards. When I compile, I get the following error: fork/exec /home/gallant/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1/bin/arc-elf32-g++: no such file or directory Error compiling for board Arduino/Genuino 101. I have Tools>Board set to Arduino/Genuino101. The programmer is USBasp. Also, I changed upload permissions per some threads on this forum, but my issue is a compile problem. Any idea how to fix? Thanks.
Is there a directory /home/gallant/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1/bin/arc-elf32-g++ ? Could be an error during installation of the boards manager. Please remove it and try installing again. See also (both on windows but same could happen in Ubuntu): https://forum.arduino.cc/index.php?topic=373104.0 https://forum.arduino.cc/index.php?topic=471239.0
Thanks for the tip! I actually discovered that one out late last night but couldn't figure out a way to delete a post. Here's what caused the problem in the first place: When I installed the board it hung for a long time and I thought it had crashed. So, I cancelled out and reinstalled with seemingly no problem. But the reinstall didn't actually work when I tried to compile. So, the cancelling out and reinstall were the root of the problem. The lesson is... when you install the board and it hangs, one has to be be very patient, for minutes in fact, and all will be ok. Thanks again.
Sorry so what was the fix once you were in this situation... cause i'm in that situaltion now. Running arduino un-install then install again didn't help. Thanks in Advance
Turns out. You should undo this and start again by: Run the uninstall.sh Delete the folder you were running it from delete the hidden ~/.arduino15 ffolder in the home directory Run install again. Its that hidden directory tha tholds onto the board installs. This time when you install it and arduino says you need libraries for your board. Start the install and leave the room.... it takes a very long time. For reference I'm installing Arduino 1.8.9 on Ubuntu Mate 18.04 LTS