Robot Motor - Library errors!

Hello everyone,
I wrote a program for a line following robot. When verifying my code, I found the following errors:

Line_Following_Robot.ino: In function ‘void setup()’:
Line_Following_Robot:25: error: ‘IRread’ was not declared in this scope
Line_Following_Robot:28: error: ‘IRread’ was not declared in this scope
Line_Following_Robot:31: error: ‘IRread’ was not declared in this scope
Line_Following_Robot:34: error: ‘IRread’ was not declared in this scope
Line_Following_Robot:40: error: ‘motorsStop’ was not declared in this scope
Line_Following_Robot:41: error: ‘turn’ was not declared in this scope

But, when I read about it, all these functions should be declared in the <ArduinoRobot.h> library, which is already declared in the code.

I would appreciate the help.

You mention code several times but have not posted it here

Did you read this before posting a programming question ?

Why not use Robot.lineFollowConfig() and Robot.setMode(MODE_LINE_FOLLOW)? That is what the example Robot_Control->explore->R02_Line_Follow does.