I wanted to use VarSpeedServo library, so i downloaded it and used the "Importing a .zip Library" method (but i have also tried to do it manually too).
I get this error message everytime i want to upload the program (picture attached). I found the library and the program in this website.
As i showed in the included screenshot, the library seems to be in the proper place, i save the sketches in "C:\Users\rubli\Documents\Arduino". The library shows up in the "added libraries" in the Arduino program too.
What could be the problem, what am i missing here?
The problem is not with how you installed the library. You did that correctly. The problem is with the library itself. It is written for a very old version of the Arduino IDE and is no longer compatible with the current IDE. The fix is simple enough though:
Open C:\Users\rubli\Documents\Arduino\libraries\VarSpeedServo\VarSpeedServo.cpp in a text editor.
Change line 56 from:
#include <WProgram.h>
to:
#include <Arduino.h>
Save the file
FYI, this error indicates you are using an extremely old library. You might want to do a search to see if a newer version of the library is available.