Go to Post Innovating for the sake of innovating, reinventing the wheel is probably the second biggest pitfall you can fall into when designing an FRC robot, if the wheel is already a very optimized, good solution. - Chris is me [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 06-02-2010, 15:18
whatabouteve whatabouteve is offline
Registered User
AKA: Dean Keithly
FRC #0245 (Adambots)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Rochester Hills,MI
Posts: 45
whatabouteve is an unknown quantity at this point
nivision.h errors C++

when we try and compile the "camera to dashboard" example code we get a repitition of these errors.

"C:/Windriver/workspace/CameraToDashboardExample1/nivision.h", line 818: error(etoa:4066): enumerated value is out of "int" range Polarity Type;

this reoccurs in the entire .h file preventing us from getting the first step to using the program.

We might just be making a silly mistake but there are over 100 errors in this one spot in the program.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2010, 03:50
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: nivision.h errors C++

I'm not sure, but I think that example might be obsolete. The 2010 Camera Demo includes vision to the dashboard. I recommend trying that one.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2010, 17:13
whatabouteve whatabouteve is offline
Registered User
AKA: Dean Keithly
FRC #0245 (Adambots)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Rochester Hills,MI
Posts: 45
whatabouteve is an unknown quantity at this point
Re: nivision.h errors C++

we fixed, not sure how because i didn't do it but a monkey did it so it couldn't have been that difficult.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2010, 00:01
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: nivision.h errors C++

check the builder, if it isn't right then you will get a lot of errors very quickly
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2013, 18:24
ronbaer ronbaer is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Chantilly, VA
Posts: 8
ronbaer is an unknown quantity at this point
Re: nivision.h errors C++

While this is an old post, the answer is still useful. (And I had the same problem today.)
Answer: Set the build environment to PPC603gnu
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
NIVision EllipseMatch Problems bronxbomber92 Programming 1 20-01-2010 07:59
nivision linking error 451Programmer Programming 4 10-03-2009 21:01
WindRiver Errors ExarKun666 C/C++ 7 04-03-2009 20:32
Errors on LabVIEW PHSRobotics NI LabVIEW 12 11-02-2009 10:00
NiVision.cpp nickmagus Programming 4 26-01-2009 08:55


All times are GMT -5. The time now is 03:25.

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