Stepper motor code doesn't compile

Any tutorial how to compile a cpp as library?

The debugged library goes as it follows when i tray to use it alongside with my project:

stepper.cpp:7: error: prototype for 'Stepper::Stepper(int, int, int, int)' does not match any in class 'Stepper'

Thanks.

garfius:
Any tutorial how to compile a cpp as library?

This is a new question and I have suggested to the Moderator to move it to its own Thread.

Please post your complete program and the complete error message.

You are probably making a simple mistake.

...R