Can't complile TimeAlarm library without getting error Alarm out of scope

DadEE:

  1. made sure that the TimeAlarm.cpp and TimeAlarm.h files are in my “Libraries” folder for Arduino, not nested in other folders.
  1. They should be in the "libraries" directory
  2. They should be in a directory in the "libraries" directory named "TimeAlarm"

So it should be

sketchbook
--<other sketches>
--libraries
----TimeAlarm
------TimeAlarm.h
------TimeAlarm.cpp
----<other libraries>