exit status 1 Error compiling for board Arduino/Genuino Uno

6.9k Views Asked by At

I am using arduino IDE since a year with old version 1.5.8 After I updated the version of arduino (due to some errors in old version) I am getting this error even when I compile an empty default sketch:

C:\program files (x86)\arduino\hardware\tools\avr\bin\../lib/gcc/avr/4.9.2/../../../../avr/bin/ar.exe: core\wiring_pulse.S.o: No such file or directory

exit status 1
Error compiling for board Arduino/Genuino Uno.

I have tried many solutions on forum and stackoverflow Nothing has solved my error.

What should I do ???

ALso, I suspect NPAV antivirus which I installed in my laptop recently maybe causing the error, since the scan shows some arduino files as threats... But I am not sure if that is the issue. And as NPAV is a paid software I didn't remove it to see if the error goes. though i tried disabling NPAV which didn't help.

1

There are 1 best solutions below

0
On BEST ANSWER

Solved the issue I was guessing it's the new antivirus issue... Thus uninstalled it Working perfectly now