Hi all
I downloaded the library from
http://playground.arduino.cc//Main/CapacitiveSensor?from=Main.CapSense
I renamed the folders to be called "CapacitiveSensor" and uzipped in the folder
the problem is that for some spooky action it generates the following folder
Documents\Arduino\libraries\CapacitiveSensor\libraries\CapacitiveSensor
What you need to do is to just put the CapativeSensor directly in the libraries folder, avoiding the redundancy.
I went to file-> examples-> CapacitiveSensor...->CapacitiveSensorSketch wich is the example of the library and compilled perfectly.
I hope that helpled to make it clear.
CapacitiveSensorSketch:12: error: 'CapacitiveSensor' does not name a type