RTClib problems

Hey, I'm trying to use the RTClib, as I was following a short tutorial on the Adafruit website: http://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit/overview

But...when I try to compile anything with the library this is all I get...: \Arduino\libraries\RTClibmaster2/RTClib.h:7: error: expected )' before 't' \Arduino\libraries\RTClibmaster2/RTClib.h:8: error: expected)' before 'year' \Arduino\libraries\RTClibmaster2/RTClib.h:11: error: 'uint16_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:12: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:13: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:14: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:15: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:16: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:17: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:22: error: 'uint32_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:25: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:31: error: 'uint8_t' does not name a type \Arduino\libraries\RTClibmaster2/RTClib.h:33: error: 'uint8_t' does not name a type

Any help?

Did you look at: http://learn.adafruit.com/arduino-tips-tricks-and-techniques/arduino-libraries

LarryD:
Did you look at:
http://learn.adafruit.com/arduino-tips-tricks-and-techniques/arduino-libraries

Yup

Would you attach your sketch?

#include <RTClib.h>
void setup() {}
void loop() {}

No need for extras when testing the library.

So you placed the library here?

C:\Users....Your Stuff...\Documents\Arduino\libraries\RTClib

LarryD: So you placed the library here?

C:\Users....Your Stuff...\Documents\Arduino\libraries\RTClib

Yes

Try:

#include <Wire.h>
#include "RTClib.h"
void setup() {}
void loop() {}

LarryD:
Try:

#include <Wire.h>

#include “RTClib.h”
void setup() {}
void loop() {}

I am retarded and overlooked everything in this simple attempt, Wire is indeed required, thanks for pointing that out.

I am retarded

No you aren't!

LarryD:

I am retarded

No you aren't!

Well, if I had looked deeper at the example that I posted originally, under the "Understanding the Code" section, they include both the Wire and the RTC libraries, not to mention the main description at one part was "Communicating over I2C" or something with regards to the RTC.

lol