thijse / Arduino-EEPROMEx

Extended EEPROM library for Arduino
Other
170 stars 54 forks source link

Not able to Locate EEPROM.h file #9

Open shirish47 opened 8 years ago

shirish47 commented 8 years ago

C:\Program Files (x86)\Arduino\libraries\EEPROMex/EEPROMex.h:23:20: fatal error: EEPROM.h: No such file or directory

include

                ^

compilation terminated. Error compiling.

If I include EEPROM in main Code I get this problem.. I am using Arduino 1.6.3

C:\Program Files (x86)\Arduino\libraries\EEPROMex/EEPROMVar.h:1:22: fatal error: WProgram.h: No such file or directory

include

                  ^

compilation terminated. Error compiling.

shirish47 commented 8 years ago

libraries\EEPROMex/EEPROMex.h:159:22: error: conflicting declaration 'EEPROMClassEx EEPROM' extern EEPROMClassEx EEPROM; ^ In file included from EEPROM.ino:1:0: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM/EEPROM.h:145:20: error: 'EEPROM' has a previous declaration as 'EEPROMClass EEPROM' static EEPROMClass EEPROM; ^

SkylineP1g3on commented 8 years ago

I am having exactly the same problem, did you manage to resolve it?

shirish47 commented 8 years ago

I did not use that library later.. :P :D

thijse commented 8 years ago

I think the problem is that both EEPROMex.h & EEPROM.h are being included (may be indirectly) and both libraries expose an extern EEPROM object.

Can you send me the sketch you are using and the board?

thijse commented 8 years ago

well, not send me the actual board, but the type of the board :)

shirish47 commented 8 years ago

well that board was custom built for a project. but controller was Atmega328 same are everything was same as arduino mini pro. now I don't remember the file . :P but thanks in case if I again fall into this trouble I would post it.