Problems with library HC SR04 installation

Hi,
I have problem with installation of library at HC SR04 ultrasound sensor. I copy the files to specified path but, with compile the program receive that message:
In file included from sensorde_ultrassom.cpp:1:
C:\Users\Renata\Documents\Arduino\arduino-1.0.1\libraries\Ultrasonic/Ultrasonic.h:11:22: error: WProgram.h: No such file or directory

But I install the library in correct local and re-install every times and receive that message.
Thanks.

In Arduino 1.0 the file WProgram.h was replaced with Arduino.h. Make that change in the library and it will probably work.

I changed Arduino 1.0 for Arduino 0022 e the problem is resolved. I think is this. I going to change the Arduino.h for Wprogram.h. Thanks.

You also shouldn't use the Ultrasonic library as it has a host of problems. Basically, it "works" but not real well and doesn't work well in beyond a "hello world" type sketch. Instead, use the NewPing Library available here:

NewPing Library - Forum

NewPing Library - Download

NewPing Library - Home Page

Tim