Error while compiling any MySensor sketch
-
Hi everyone,
I have just installed the MySensor library:
- copied the whole content of the library folder in my arduino lib folder
- restarted the IDE (1.0.5-r2)
I tried compiling several MySensors exemples directly from the example menu and always get the same error:
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::begin(uint8_t, rf24_pa_dbm_e, uint8_t, rf24_datarate_e)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:23: error: 'EEPROM' was not declared in this scope
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::addChildRoute(uint8_t, uint8_t)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:220: error: 'EEPROM' was not declared in this scope
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp: In member function 'void Relay::removeChildRoute(uint8_t)':
M:\PRJ - Domotics\arduino\libraries\MySensors\Relay.cpp:227: error: 'EEPROM' was not declared in this scopeI'm able to compile other sketches on that environment.
I didn't find that error on the forum, so I wondered if I had another Relay.h in my environment, which could conflict with yours, but it's not the case.
Any idea?
Thanks in advance for your help.
Totony.
-
Looks like there are old 1.3 files in the MySensors folder. Did you really replace it and not just overwrite?
Restart IDE after installing libraries.
-
Thanks for the quick answer!
I thought it was my first install of the lib, but I might have put it in my lib folder when I found out about MySensors.
So I just extracted there and replaced conflict. I'll remove the MySensor folder and extract again.
-
Fixed, thanks!!!!
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Sample Door SW does not compile !
Troubleshooting • 4 Jan 2015, 16:38 • IOS_IOT 5 Jan 2015, 21:38 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 12 days ago • bocalexandru 11 days ago -
Ghost Child
Troubleshooting • 17 days ago • FcNanoLed 14 days ago -
NODs stop responding, but ping works.
Troubleshooting • 23 days ago • Marcin 23 days ago -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22