Error Message Will not compile??

Will not compile any code at all. getting error message:

c:\program files (x86\arduino \hardware\tools\avr\bin\ .. \lib/gcc/avr/5.4.0/../../../../avr/bin/ar.exe: unable to rename 'c:\users\terry\appdata\local\temp\arduino_build_604346\core\core.a'; reason:file exists

I have deleted, installed, reinstalled the ide many times. Something must be staying in the computer even after uninstalling the ide. I cannot find it if it is.
Thanks if anyone has the solution.

If I try to copy and paste the error messages from the Arduino ide it is pages long?

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\terry\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10808 -build-path C:\Users\terry\AppData\Local\Temp\arduino_build_160276 -warnings=none -build-cache C:\Users\terry\AppData\Local\Temp\arduino_cache_336120 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.