View Single Post
  #1   Spotlight this post!  
Unread 13-02-2008, 14:40
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: GTS Encoder Compilation Error

Quote:
Originally Posted by SmithWest View Post
Hey folks, looking for some help with a problem that has been posted about a few times already. It involves the typo in the p18f8722.h file.

I've gone in an edited the typo from INT3P to INT3IP in that .h file and I still receive this error:

Code:
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "gear_tooth.c" -fo="gear_tooth.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_LARGE_CODE -D_DONT_USE_TMR0 -mL -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
 
\FrcCode_2007_8722\gear_tooth.c:71:Error [1205] unknown member 'INT3IP' in '__tag_248'
\FrcCode_2007_8722\gear_tooth.c:71:Error [1131] type mismatch in assignment
Another mentor sent me his .h file and I over-wrote mine and it still didn't compile. I have some knowledge of programming, but details like this elude me. Thanks for any help you can offer.
Did you drop the new 18f8722.h file into the compiler's "h" directory (i.e., c:\mcc18\h)? If not, the compiler won't find it and you'll continue to receive this error.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org