Go to Post Yes indeed... ten years ago tomorrow, those famous words "water game" were first mentioned on Chief Delphi! Oh, how things have and have not changed... - bduddy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2010, 09:29
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
C++ Catastrophic error in libs compiling

Our team is having trouble compiling code. It always returns the error message in short

there is 1 catostrophic error 1st line #include "accelerometer.h"

if i were to delete the 1st line of sample code i get another error on the second line wiuth the exact same thing.

I would guess that we are missing some makefile.

but after downloading the wpi library several times, it still gives us the same error.

I am at a loss.

Please help!
  #2   Spotlight this post!  
Unread 30-01-2010, 09:37
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: C++ Catastrophic error in libs compiling

Please post C++ questions/problems in the C++ sub-forum.
You need to:

1) describe exactly what you did to "compile the code".
2) tell us what "it" is when you write "It always returns the error message"
3) show (paste it in your post) the exact error.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #3   Spotlight this post!  
Unread 30-01-2010, 09:43
pafwl pafwl is offline
Franciose
AKA: Frank Larkin
FRC #0272 (Cyber Crusaders)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 1998
Location: Lansdale, Pennsylvania
Posts: 108
pafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud of
Re: C++ Catastrophic error in libs compiling

Check the code that is just before the .h file. These are all read in in the order you put them in your code. Look for a character that shoudn not be there either in the code just before the .h or in the previous .h.
  #4   Spotlight this post!  
Unread 30-01-2010, 10:17
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: C++ Catastrophic error in libs compiling

1.we use windriver so the program automatically compiles when you hit build project.

2. windriver always returns an error message

3.this is a different computer that we don't program on.

the error is as i can best descride it.

in the build of "project file location/AnalogChannel.cpp" line 7 catastrophic error (etoa:4005): could not open source file "CAnalogChannel.h"

Note: this was after deleting the accelerometer error. this is the second program in the file list after accelerometer. The same thing occured with CAccelerometer.cpp

thank you
  #5   Spotlight this post!  
Unread 30-01-2010, 10:48
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: C++ Catastrophic error in libs compiling

we are presently making sure we have all the updates.

i do not believe this is the issue but it needs to be done so we are doing it.
  #6   Spotlight this post!  
Unread 30-01-2010, 11:12
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: C++ Catastrophic error in libs compiling

Quote:
Originally Posted by whatabouteve View Post
3.this is a different computer that we don't program on
It would save us both time if you could post a screen shot after the error has occurred.
Can't you take a screen shot and put it on a USB memory stick and post it?
If for some reason you can't post it, email it to gvarndell@hotmail.com.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)

Last edited by gvarndell : 30-01-2010 at 11:26.
  #7   Spotlight this post!  
Unread 30-01-2010, 11:43
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: C++ Catastrophic error in libs compiling

okay i found the problem... for now. we got the crio imaged properly and now have a blinking light.
hurrah!

we'll face the other problem later but i think it involves another update.
  #8   Spotlight this post!  
Unread 30-01-2010, 11:48
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: C++ Catastrophic error in libs compiling

Quote:
Originally Posted by whatabouteve View Post
okay i found the problem..
That's great.
The forums are more useful to everyone if we all give back to them as much as we expect to gain from them.
Please consider posting an explanation of how you solved the problem.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
  #9   Spotlight this post!  
Unread 30-01-2010, 12:10
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: C++ Catastrophic error in libs compiling

we didn't really find the solution we just got on the map as far as programming is concerned.

i'll post something later about how we got to getting code on the robot that works.
Closed Thread


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
Catastrophic error agough C/C++ 3 24-01-2009 15:36
Compiling error AdamHeard Programming 2 30-01-2008 09:57
Compiling Error DustinB_3 Programming 1 12-02-2007 18:06
wierd compiling error Joohoo Programming 1 08-02-2007 21:32
Error when compiling paulcd2000 Programming 2 21-01-2007 14:05


All times are GMT -5. The time now is 02:20.

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