View Single Post
  #4   Spotlight this post!  
Unread 22-01-2010, 17:21
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Axiscamera.h not found

Quote:
Originally Posted by Josh987 View Post
Thanks for the quick response. That got rid of a few of the errors i attached the rest of the errors in a notepad file that is attached.
Add #include "ErrorBase.h" right before #include "PCVideoServer.h"

Add #include "WPILib.h".

that did it for me.

BTW, Workbench capabilities helped me find these in about 2 minutes.
Double click on "ErrorBase" in the file PCVideoServer.h, then right-click, then scroll down to "Open Declaration".
That showed me where ErrorBase was declared.
For the Wait function call, tried the same thing and it wasn't found.
In that case, use search through workspace to find it.
In either case, verify that those include files were not included and then choose where to include them.
Workbench has very powerful code comprehension and navigation tools.
Use them.

It looks as though just including WPILib.h would have been sufficient, since it includes ErrorBase.h.
Workbench won't make these judgment calls for you, as illustrated here, one has to take the time choose the best remedy. ;-)
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)

Last edited by gvarndell : 22-01-2010 at 17:38. Reason: further explanation
Reply With Quote