Go to Post For a good time, call 1-800-GOFIRST - Wayne Doenges [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #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: 358
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
  #2   Spotlight this post!  
Unread 23-01-2010, 17:48
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 93
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
Re: CameraToDashboard sample wont compile

This has been discussed in another thread:
http://www.chiefdelphi.com/forums/sh...ad.php?t=79892
__________________

Silicon Valley Regional 2005, 2006 972
Silicon Valley Regional 2007 668 Xerox Creativity Award
Championship Event 2007 668
Portland Regional 2008 668
Silicon Valley Regional 2008 668, 972
Beta Test Team 2008 668 (with 100 & 254)
Silicon Valley Regional 2009 668 Regional Chairman's Award; 2643
Sacramento Regional 2009 668 Winning Alliance (thanks, 1717 & 2473!), 2010 Winning Alliance 3256
CalGames 2006, 2007, 2008, 2009, 2010, 2011 Field Tech
NorCal FTC Regional 2008, 2009 Inspector
Championship Event 2009
San Diego, Silicon Valley Regionals; Champ. Event 2010 668, 2643, 3256
Silicon Valley, Madera Regional 2012 2643
WRRF Programming Instructor 2006-2016
Regional Woodie Flowers Award 2014 2643 Utah Regional

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dashboard wont work... nadavsen2 C/C++ 2 22-09-2012 15:43
cRIO wont save program Arcre NI LabVIEW 5 07-01-2009 11:45
easy-c program wont download magnotta Technical Discussion 4 01-03-2008 14:17
G4 wont turn on! MattK General Forum 14 26-08-2003 09:44


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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