SoftwareServo.h file missing according to arduino, present in windows explorer.

So I installed the "SoftwareServo" library to use some sample code for the Nrf24L01 radio transceivers and the verify tool is printing this error:

"In file included from C:\Users\Ed\Documents\Arduino\Radio_Reciever\Radio_Reciever.ino:29:0:

C:\Users\Ed\Documents\Arduino\libraries\SoftwareServo/SoftwareServo.h:4:22: fatal error: WProgram.h: No such file or directory

#include <WProgram.h>

^

compilation terminated."

Even though in windows explorer there is a file called "SoftwareServo.h" in the directory "C:\Users\Ed\Documents\Arduino\libraries\SoftwareServo"

I've tried reinstalling the library with no success. Does anyone have any ideas as to what could be causing this?

Uhm, the library never tells you SoftwareServo is missing... Let's say reading is an art of it's own...

What it does tell you is that WProgram.h is missing which is called inside SoftwareServo. That tells me the library is old/long not updated. With Arduino IDE 1.0 they renamed WProgram.h to Arduino.h. You can change the include line in the library to make it work. (Or get a new error because of the old library you need to fix.)

But SoftwareServo seems a bit obsolete to me. Just switch to the build in Servo library.

septillion:
-snip-

So I shouldn't need it? Will I need to rewrite the code to remove the use of the software servo stuff?

DebatedNothing:
So I shouldn't need it?

Need what?

DebatedNothing:
Will I need to rewrite the code to remove the use of the software servo stuff?

To use the normal servo library, yes. But you don't have to bugfix the ancient library...