Help with PIR Motion Sensor/GPRS

This is my first Arduino project. I would like to make a simple motion sensor that will send a text message via SMS, when activated. I have a GPRS Shield V2.0 from Seeed Studio http://www.seeedstudio.com/depot/GPRS-Shield-V20-p-1379.html?cPath=19_20 , unlocked SIM card and Arduino UNO. I have tried the project from make, the Cellular Sensor Sentinel, Cellular Sensor Sentinel - Make: but I get an error when I verify the sketch. Also, I just need a PIR sensor linked to text messaging not all the extras in Cellular Sensor Sentinel project. So I was wondering if anyone has worked on a similar project and if they would be willing to share their sketch or point me in the right direction.

Thanks

K

(deleted)

Did you install the library for the cap sensor?

I did, and the code verifies error-free for me.

edit: Gives "sensor_sentinel:93: error: 'CapacitiveSensor' does not name a type" otherwise.

Error I am getting is as follows:

sketch_jun30a.cpp:2:20: fatal error: String.h: No such file or directory
compilation terminated.

Thanks

Ok that's a weird one, because I've never seen that String.h in an include before, and as I say it compiled for me without consciously installing that String.h.

I'm wondering if it's an Arduino version thing, but sorry, I can't advise.

Forgot to mention am running Arduino 1.0 on Linux. CapacitiveSensor.zip is extracted in sketchbook/Libraries/sensor_sent folder.

Thanks JimboZA. I think it is a version thing. I tried compiling it in win version Arduino 1.0.5 on a virtual box and it compiled fine. I don't have the Arduino with me at the moment but I will try it on a windows machine and see how it works.

Thanks for the advice and if anyone has a sketch for this project that they are willing to share, that would be great! Thanks again.