View Single Post
  #1   Spotlight this post!  
Unread 23-01-2010, 17:27
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
CameraToDashboard sample wont compile

The camera to dashboard example won't compile for me. Its missing AxisCamera.h, BaeUtilities and more for one thing.

I see them in C:\WindRiver\vxworks-6.3\target\h\WPIlib\Vision2009. How do I add that as an include folder in workbench?


building CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:24:25: AxisCamera.h: No such file or directory
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:25:26: BaeUtilities.h: No such file or directory
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:26:22: FrcError.h: No such file or directory
In file included from C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:27:
C:/WindRiver/vxworks-6.3/target/h/WPILib/PCVideoServer.h:28: error: expected class-name before '{' token
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp: In member function `virtual void CameraToDashboardExample::RobotMain()':
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: `DEBUG_SCREEN_ONLY' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:39: error: `SetDebugFlag' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `k320x240' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `ROT_0' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:42: error: `StartCameraTask' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:43: error: `LOG_ERROR' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `GetLastVisionError' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `GetVisionErrorText' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:44: error: `dprintf' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:46: error: `LOG_DEBUG' undeclared (first use this function)
C:/WindRiver/workspace/CameraToDashboardExample/CameraToDashboardExample.cpp:47: error: `Wait' undeclared (first use this function)
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [CameraToDashboardExample/Debug/Objects/CameraToDashboardExample/CameraToDashboardExample.o] Error 1
Build Failed in Project 'CameraToDashboardExample' (Process Exit Value was 2): 2010-01-23 17:16:36 (Elapsed Time: 00:02)
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote