Go Down

Topic: no such file or directory:    time.h (Read 9884 times) previous topic - next topic

lukejr

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...?

keeper63

Did you download and install the Time library?
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

lukejr

i've realised i had it named slightly differently...

new to macs, and it's frustrating..

thank-you for making me check though.

falohao


westfw

Quote
Hardware/library/time/time.h

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

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

mem

Quote
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

Go Up