Now I'm really puzzled. I just compiled some camera code with
Code:
if (Get_Tracking_State() == 2)
{
//do stuff
}
in user_routines.c->Default_Routine() file and it worked fine. I tried removing tracking.h from the includes and got something errors, but not the same as yours. Judging from
this thread, it appears that this problem has been encountered before and is caused by misspellings/miscapitalization, and Kevin Watson himself suggests
here that it can be caused by overly long directory names. If neither one of those works, I'm out of ideas.