Change the lines
Code:
if (StartCameraTask ()== -1) {
printf( "Failed to spawn camera task; Error code %s",
GetErrorText (GetLastError()) };
to
Code:
if (StartCameraTask() == -1)
printf("Failed to spawn camera task; Error code %s", GetVisionErrorText(GetLastVisionError()));
It should compile now (See FrcError.h for these declarations - the headers were probably changed after the documentation was written).
(P.S. Your #includes for servo.h, simplerobot.h, sensorbase.h, error.h and errorbase.h are extraneous, since they are included by wpilib.h)