After installing the Arduino analogShield library, and restarting the IDE, I tried to compile this simple program
The compiler returned a bunch of lines like this
../Arduino/libraries/analogShield/analogShield.cpp:314: error: 'SPI_MODE_MASK' was not declared in this scope
as if that the compiler was not recognizing the header file. Yet it obviously read the header file or it wouldn't know that SPI_MODE_MASK was even a thing.
Any suggestions about how to move forward?