Problem With Error Message

Had a problem with Audrino 1.0.2 so updated to 1.0.3 to see if it would fix a problem with a particular sketch as follows:

Open Examples / Blink compiles OK no problem here....

Open Examples / Time / TimeRTCSet but have a series of errors commencing as follows when I try to compile:

'time_t' does not name a type
In file included from TimeRTCSet.pde:11:
C:\AUDINO\arduino-1.0.3/libraties\DS1307RTC/DS1307RTC.h:17: error: 'time_t' does not name a type
C:\AUDINO\arduino-1.0.3/libraties\DS1307RTC/DS1307RTC.h:18: error: 'time_t' does not name a type
C:\AUDINO\arduino-1.0.3/libraties\DS1307RTC/DS1307RTC.h:19: error: 'tmElements_t' has not been declared

various other error lines follow on....

I've looked into DS1307RTC.h and can see where I thing time_t is referred (as below) so what is the problem. My copy of the library was downloaded from githum.com and included the CPP file.
I'm not too familiar with interreting these error codes so any hely would be appreciated.

/*

  • DS1307RTC.h - library for DS1307 RTC
  • This library is intended to be uses with Arduino Time.h library functions
    */

#ifndef DS1307RTC_h
#define DS1307RTC_h

#include <Time.h>

// library interface description
class DS1307RTC
{
// user-accessible "public" interface
public:
DS1307RTC();
static time_t get();
static void set(time_t t);
static void read(tmElements_t &tm);
static void write(tmElements_t &tm);

private:
static uint8_t dec2bcd(uint8_t num);
static uint8_t bcd2dec(uint8_t num);
};

extern DS1307RTC RTC;

#endif

Is the Time.h library missing for some reason? I just downloaded 1.0.3 about an hour ago. Tried the TimeRTCSet sketch, no trouble.

You don't have to post a quarter of a megabyte screenshot of your error message you know. Just copy and paste the text of it into a forum message. That would only use a few hundred bytes.

Jack you were correct re time.h the copy I had was corrupt so downloading new copy fixed problem - Thanks for the Help.

Nick it is not possible to Cut/Paste from the Compile Errors that is why I resorted to a screen capture & attach but I take your point about attaching large files.

All of this exercise brings up a concern for a newbee like myself I'm finding library files from different revisions which could always be a trap if the sketch your running required revision A and your loading revision B. Maybe I've not found it yet but is there a central repository for all "approved" libraries?

Thanks again for the help

rbright:
Nick it is not possible to Cut/Paste from the Compile Errors that is why I resorted to a screen capture & attach but I take your point about attaching large files

hmm, yes there is. Highlight error code in IDE, ctrl+c, come to forum, ctrl+v. Don't forget to rap code tags (the # button) around it to make it readable.