the function "InArea" can be found in the source code for build 1562 found
here. The source has changed since the kickoff because the code I have from just before the kickoff doesn't contain the InArea function either.
Try re-installing the
Workbench update. It looks like they may have added it to this install. Otherwise you'll have to re-build the source and link in the WPIlib.a file generated in the make process. The default location for the WPILib source tree ended up in C:\WinDriver\vxworks-6.3\WPILib.
Quote:
Originally Posted by Mike Mahar
I can't compile this code. The module Target.cpp calls a function "InArea" that is defined in the WPILib module TrackAPI.cpp. TrackAPI.h, however, does not declare this function. I could easily add this declaration to Target.cpp but I wonder if this was written for a WPILib that hasn't been released yet. Some other posts have indicated that there are bugs in the vision system and this example may not address them. Has there been
any WPILib update since 1/1/09 that I don't have?
|