Error compiling for board Arduino Nano.

I was trying out the AccelStepper lib. Had the zip file installed, but when I tried one of the example that came with it (AFMotor_ConstantSpeed.pde), it complaint with the error in the Subject line. I'd tried targeting other Arduino such as Uno and Mega and got the same message targeting those devices.
Anyone please help?

Below is the output when I tried to compile it.

W:\admin\PER_PROJECTS\MCU\TMC2209_using_AccelStepper/TMC2209_using_AccelStepper.ino:22: undefined reference to `AF_Stepper::onestep(unsigned char, unsigned char)'

C:\Users\BNR-BF~1\AppData\Local\Temp\ccNra8UF.ltrans0.ltrans.o: In function `backwardstep':

W:\admin\PER_PROJECTS\MCU\TMC2209_using_AccelStepper/TMC2209_using_AccelStepper.ino:25: undefined reference to `AF_Stepper::onestep(unsigned char, unsigned char)'

C:\Users\BNR-BF~1\AppData\Local\Temp\ccNra8UF.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_TMC2209_using_AccelStepper.ino.cpp.o.2030':

:(.text.startup+0x62): undefined reference to `AF_Stepper::AF_Stepper(unsigned int, unsigned char)'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino Nano.