Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Locate EEPROM.h file #9

Open
shirish47 opened this issue Dec 17, 2015 · 6 comments
Open

Not able to Locate EEPROM.h file #9

shirish47 opened this issue Dec 17, 2015 · 6 comments

Comments

@shirish47
Copy link

C:\Program Files (x86)\Arduino\libraries\EEPROMex/EEPROMex.h:23:20: fatal error: EEPROM.h: No such file or directory
#include <EEPROM.h>
^
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 <WProgram.h>
^
compilation terminated.
Error compiling.

@shirish47
Copy link
Author

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
Copy link

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

@shirish47
Copy link
Author

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

@thijse
Copy link
Owner

thijse commented Jun 2, 2016

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
Copy link
Owner

thijse commented Jun 2, 2016

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

@shirish47
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants