Student in need of some help with stepper code

I am a current student and not really fluent in programming so working with a l293d motor shield and a bipolar stepper motor i tried using an example code and got a bunch of errors if anyone can help me I would be grateful. Not sure why getting the errors.

CODE
#include <AccelStepper.h>

AccelStepper stepper; // Defaults to 4 pins on 2, 3, 4, 5

void setup()
{
stepper.setSpeed(50);
}

void loop()
{
stepper.runSpeed();
}

ERRORS
ConstantSpeed:12: error: 'AccelStepper' does not name a type
ConstantSpeed.pde: In function 'void setup()':
ConstantSpeed:16: error: 'stepper' was not declared in this scope
ConstantSpeed.pde: In function 'void loop()':
ConstantSpeed:21: error: 'stepper' was not declared in this scope

Did you install the AccelStepper library as explained here?

Edit.... I got the same symptoms, then installed the library, got clean compile and uplaod.