Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   CameraToDashboard sample wont compile (http://www.chiefdelphi.com/forums/showthread.php?t=80978)

SuperBK 23-01-2010 17:27

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)

garyk 23-01-2010 17:48

Re: CameraToDashboard sample wont compile
 
This has been discussed in another thread:
http://www.chiefdelphi.com/forums/sh...ad.php?t=79892


All times are GMT -5. The time now is 12:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi