View Single Post
  #6   Spotlight this post!  
Unread 19-01-2010, 09:05
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Problem using the camera.

The update tool is only slightly "broken" if you install Windriver somewhere other than c:/windriver. Cut and paste fixes this.

Your c:/windriver/vxworks-6.3/target/h/WPIlib should have a "Vision" directory as well as a "Vision2009" directory (and some other miscellaneous directories).

You must tell the project to use the "Vision" directory as an addition source of includes.

Code:
Right-Click Your Project's Name ->
Properties ->
On the Left, Click "Build Properties" ->
Select the tab "Build Paths" ->
Click "Add" use the path: "-I$(WIND_BASE)/target/h/WPIlib/vision"
Click "OK"
"AxisCamera2010.h" or "PCVideoServer.h" will get you started.

Take a look at the manual:
http://first.wpi.edu/Images/CMS/Firs...sers_Guide.pdf

Last edited by TheDominis : 19-01-2010 at 09:08. Reason: Headers and Link