Our team is build of rookie programmers. We looked but couldn’t find the statement that decides whether or not the #if _USE_CMU_CAMERA is done or not. We are using the FrcCode2005v2.4 default code. If someone could point that out and explain it that would be great.
I have no idea how rookie you are, so here’s a general picture of the situation.
When the compiler compiles, you can give it flags that satisfy these #if statements. To see if it is set, go to [project]->[build options]->[build all]. Take this with a grain of salt; I don’t have the compiler in front of me, so I could be somewhat off base. There will be a box with a list of flags in similar format, including that one; if I recall correctly, there are normally two.
Even if you can’t find it, the default code and workspace should have it already set.
Best of luck to you!
–Jonathan Kunkee, Team 1288
Highest Rookie Seed Award, 2004