Go Down

Topic: code wont compile to boards (Read 251 times) previous topic - next topic


i will try to allow you to understand my problem.

A couple of months ago all was well with my ide 1.8.5

Code would compile and of course upload to pro mini.

Firstly, all code had errors  to the effect my 'LiquidCrystal_i2c.h ' file seemed corrupt as it returned the message 'POSITIVE was not declared in this scope", so researched and found a new liquidcrystal library and got that solved.

Going ahead I get this error code,

Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"

c:\program files (x86)\arduino\hardware\tools\avr\bin\../lib/gcc/avr/4.9.2/../../../../avr/bin/ar.exe: unable to rename 'core\core.a'; reason: File exists

Multiple libraries were found for "Wire.h"
Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Not used: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\Wire
Multiple libraries were found for "RTClib.h"
Used: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\RTClib
Not used: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\RTClib-master
exit status 1
Error compiling for board Arduino Pro or Pro Mini.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I followed the trail down \tools\avr\bin..and i get lost

following attachment is the code I am using.

thanks Doug


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.

Go Up