Thread: Header files
View Single Post
  #4   Spotlight this post!  
Unread 04-09-2008, 06:39
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Re: Header files

What I mean is if I right click on the header file adn click "compile," the compiler builds it with no errors. If I right click on the acutal C file and click compile, I get the error. I would say it is in the C file, but line 63 is talking about some variables that are declared in the C file, so I doubt it. However, lines 61-63 in the header declare global variables for the gyro. I wonder if that might mean the variable is declare somewhere else, but the error still occurs when I comment out those three lines. I can't not include the header or I will get all kinds of errors. As I said, I am trying to use a lot of the origional code. When it was written, a lot of the main variables were stored there, so I will get a lot of errors by not includin it. I will zip it and post it as soon as I can. This computer can do zipped files.