CapacitiveSensor

Hi guys , i'm using Arduino UNO to try out the Capacitive Sensing and it prompt out to have the issue on not declaring of CapacitiveSensor.h library classes. Anyone can help?

Below is the code and errors...

#include <CapacitiveSensor.h> //declare library
CapacitiveSensor capSensor = CapacitiveSensor(8, 7); //pin sensor connection

void setup() //settings of our arduino
{
Serial.begin(9600); //Set the monitor
}

void loop()
{
long sensorValue = capSensor.capacitiveSensor(30); //Save the values in a constant slow
Serial.println(sensorValue); //Print to screen the data read
delay(400); //To prevent flooding, slow down.
}


This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"
CapacitiveSensorSketch:2: error: 'CapacitiveSensor' does not name a type
CapacitiveSensorSketch.pde: In function 'void loop()':
CapacitiveSensorSketch:11: error: 'capSensor' was not declared in this scope