no such file or directory:    time.h

so.. I'm using the time and time alarms library to try and operate a solenoid at a specific date and time.. which is all easy enough..

but. every time i try to compile the example time alarm sketch i get this error:

18: error: Time.h: No such file or directory In function 'void setup()':
In function 'void loop()':
In function 'void digitalClockDisplay()':

I'm using a mac and after having this problem with version 0017 i updated to 0018.. any ideas...?

Did you download and install the Time library?

i’ve realised i had it named slightly differently…

new to macs, and it’s frustrating…

thank-you for making me check though.

Hardware/library/time/time.h

Hardware/library/time/time.h

Not on a mac; not in 0017 and later :frowning:
(try ...Arduino-0018.app/Contents/Resources/Java/libraries/...)

.../Documents/Arduino/libraries/time/time.h is probably better.

Not on a mac; not in 0017 and later

or windows, try:

...\My Documents\Arduino\Libraries\Time\Time.h

Also note the file name begins with a capital T