View Single Post
  #12   Spotlight this post!  
Unread 29-01-2010, 20:53
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: yet another No Camera Images on Dashboard thread

Quote:
Originally Posted by oddjob View Post
Some progress.

I did two things to the code and environment. Go here and do the steps in post #6:

#6

Then add this to the .cpp file:
Code:
#include "Vision\AxisCamera2010.h"
Now I can add this to the code and it compiles:
Code:
AxisCamera *m_camera;
AxisCamera.h is only already included in a handful .cpp files (BuiltinDefaultCode.cpp is not one of them) and not in any other .h files -- not even WPILib.h.
So, yes, you needed to explicitly add the '#include'.
I think somebody pointed that out to you in another post.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote