I also have this problem, were you able to find a solution?
When attempting to upload the classic blink program (but the error appears with any program) to my Arduino Uno I get the following error (verbose information included):
OS Name Microsoft Windows 10 Home
Version 10.0.14393 Build 14393
OS Manufacturer Microsoft Corporation
System Manufacturer TOSHIBA
System Model Satellite L50-C
System Type x64-based PC
The fixes I have tried:
Restart Computer
Uninstalling Arduino, Deleting Appdata\Local\Arduino15 folder, Restarting Computer, Reinstalling Arduino
Running it also under Visual Micro
Turning off Firewall from my Antivirus software (McAfee)
Did you download it from the website or via the Windows App store? If the latest, uninstall, delete the AppData and just download the installer form the website.
PS @owndbyu777, there is a major Windows update waiting for you
I installed it from the website, Second installation - the same error.
I found somehere that this is gcc issue , it expects the uC spec in the first searching folder, so maybe if I copy uC spec into that folder it will work, but the question is : where is that folder?
avr-gcc expected to find the device specs in the search paths specified. But it doesn't work as expected when device specs in different place than the installed location.
I think I may have many avrgcc folders ,as I have avr studio also.
SO how to find the initial "the installed location" - it must be configured somewhere....
another thing tha may help to investigate the issu: I wrote the win c== console app to captur command line arguments from avr gcc. See the result below:
gregIrl:
I think I may have many avrgcc folders ,as I have avr studio also.
SO how to find the initial "the installed location" - it must be configured somewhere....
Do this:
File > Preferences > Show verbose output during: > Compilation (check) > OK
Sketch > Verify/Compile
After the compilation examine the contents of the black console window at the bottom of the Arduino IDE window, there you will find the avr-gcc path.
The thing is that you shouldn't need to hardcode that path. The Arduino IDE should automatically know where avr-gcc is located. So even though it's great you got things working, it's kind of a hack. It would be best to find the true cause of the issue instead of a workaround but if the code is compiling and you're happy that's all that really matters.
Sorry about my late reply to this, I ended up just using my wifes computer to get done what I needed to do, and then got hit with heaps of stuff at work and uni...
gregIrl:
Finally I found the workaround:
in short (it took me good few days of frustration)
Thanks for that Greg it definitely put me in the right direction! It wasn't the exact fix for my case but I think it led me to my fix...
After mucking around a little bit this afternoon I remembered I had to download heaps of stuff for uni and one of the things was a compiler called cygwin... I was looking around in the error messages I was getting when trying out your fixes and saw that name in there so I ended up uninstalling the stuff I had installed for uni this semester, deleted the extra stuff I added in Environment Variables, uninstalled Arduino, deleted my local install folder in Program Files, deleted my AppData/Local/Arduino15 folder, updated Arduino to 1.8.4, and it all works!
Not 100% sure the exact fix, but something in that did it! I can now compile and run programs on my Arduino from my computer!
owndbyu777:
Sorry about my late reply to this, I ended up just using my wifes computer to get done what I needed to do, and then got hit with heaps of stuff at work and uni...
Thanks for that Greg it definitely put me in the right direction! It wasn't the exact fix for my case but I think it led me to my fix...
Not 100% sure the exact fix, but something in that did it! I can now compile and run programs on my Arduino from my computer!
Thanks for all your help,
Dave
Good to hear yours IDE is working now.
Now, I am nearly sure the most important things to fix that issue was to run Arduino in admin mode (equivalent to some security windows settings to be alerted).
Hopefully they fix this in 1.8.4 so no need for workaround.