EEPROM library throwing errors
The problem had to do with data types.  I was using an unsigned int as follows:

unsigned int addr = 0;
EEPROM.write(addr,5);


However, EEPROM.write requires an int, not an unsigned int, and this caused a compiler error.