|
Re: yet another No Camera Images on Dashboard thread
Quote:
Originally Posted by oddjob
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)
|