how to install new library in arduino and problems related to it

I successfully added VarSpeedServo library into my program but i get an error message…
i am not able to udnerstand how to deal with it…
can anyone help me out…
error displayed is as follows…

Arduino: 1.8.2 (Windows 10), Board: “Arduino/Genuino Uno”

C:\Users\Hp\Documents\Arduino\libraries\VarSpeedServo\VarSpeedServo.cpp:56:23: fatal error: WProgram.h: No such file or directory

#include <WProgram.h>

^

compilation terminated.

Multiple libraries were found for “VarSpeedServo.h”
Used: C:\Users\Hp\Documents\Arduino\libraries\VarSpeedServo
Not used: C:\Program Files (x86)\Arduino\libraries\VarSpeedServo
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

instead of this:
#include <WProgram.h>
use
#include “Arduino.h”

Multiple libraries were found for “VarSpeedServo.h”
How many times did you install the library?

.

Read this:

.