Go to Post Note that these comments are based on the 2006 FRC game rules, and they may or may not apply to the 2007 game. Your mileage may vary. - dlavery [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 13-02-2008, 19:12
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: GTS Encoder Compilation Error

Yes, this is a known bug in the provided mcc .h file.

I went through the same exercise and by changing the INT3P to INT3IP in mcc18/h/p18f8722.h it fixed the problem for me.

Is there a local copy of the the include file in your project directory? Try renaming the mcc18/h/p18f8722.h file to h_ and try recompiling. If it doesn't complain about not being able to find the file, then it is using a copy from somewhere else. Also, make sure the error is the same. I had some code that referenced the field as INT3P and fixing the include file kick the error of not being able to find INT3P -- a quick look might mistake this for INT3IP.
  #2   Spotlight this post!  
Unread 14-02-2008, 12:11
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

Quote:
Originally Posted by dcbrown View Post
Is there a local copy of the the include file in your project directory? Try renaming the mcc18/h/p18f8722.h file to h_ and try recompiling. If it doesn't complain about not being able to find the file, then it is using a copy from somewhere else. Also, make sure the error is the same. I had some code that referenced the field as INT3P and fixing the include file kick the error of not being able to find INT3P -- a quick look might mistake this for INT3IP.
Good suggestion for the file rename. I did that, and the compiler couldn't find the file anymore. Changed it back and get the same compiler error.

Not sure what you mean in your second point. I opend the 8722.h file and searched for all INT3P and changed it to INT3IP but the error persists.
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
Encoder, GTS, Gyro, Camera != Work purduephotog Programming 1 18-02-2007 17:20
Encoder Error Anime-niac_2.9 Programming 1 27-01-2007 16:23
GTS Code Error (the red light of doom!) Denz Programming 9 07-04-2006 17:39
FIRST DVD Compilation Mark McLeod General Forum 10 14-12-2005 02:02


All times are GMT -5. The time now is 00: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