View Single Post
  #5   Spotlight this post!  
Unread 13-02-2008, 14:20
SmithWest SmithWest is offline
Registered User
FRC #2495 (Hamilton West Robotics)
Team Role: Teacher
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Hamilton NJ
Posts: 9
SmithWest is an unknown quantity at this point
Re: GTS Encoder Compilation Error

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.