Go to Post Well i guess the only thing left for me to do is tip my hat and call Karthik, Chris Hibner, EricH and Bill Gold my daddy. - JackN [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 15-11-2004, 21:28
vtrehan's Avatar
vtrehan vtrehan is offline
Mentor - Controls & Programming
AKA: Vivek Trehan
FRC #1241 (Theory6)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Mississauga, ON
Posts: 38
vtrehan is on a distinguished road
Send a message via Yahoo to vtrehan
error - Invalid 18f8520 header file!

hey

I was having a problem building our last years code, but cant guess why as the error belongs to a First defined header file..... here have a look:

Clean: Done.
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
G:\VT\robotics\Theory 6 code 0.0.0.0\ifi_picdefs.h:1288: *** Error - Invalid 18f8520 header file!
error 1 spawning g:\vt\robotics\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Mon Nov 15 20:43:57 2004



any help would be appriciated.
__________________
2006-GM Industrial Design Award - Greater Toronto Super Regional
2006-Engineering Inspiration Award - Arizona Regional
2006-Regional Finalist - Arizona Regional

2005-Best Defensive Robot - Wonderland Off-Season
2005-Regional Chairman's Winners - Greater Toronto Regional
2005-Regional Champions - Waterloo (Thanks 68 and 1305)
2005-Best Website - Greater Toronto Regional
2005-Team Spirit Award - Waterloo
2005-Entreprenuership Award - Waterloo

2004-Rookie All-Star award - Great Lakes Regional
2004-Rookie Highest Seed - Greater Toronto Regional
2004-Rookie All-Star award - Greater Toronto Regional
2004-Team Spirit award - Greater Toronto Regional
2004-Team Spirit award - National Championship


  #2   Spotlight this post!  
Unread 15-11-2004, 22:37
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: error - Invalid 18f8520 header file!

Try replacing the file in the folder with the original file from IFI's website, maybe something got messed up in your copy of the file.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #3   Spotlight this post!  
Unread 16-11-2004, 08:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: error - Invalid 18f8520 header file!

Quote:
Originally Posted by vtrehan
Executing: "g:\vt\robotics\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
G:\VT\robotics\Theory 6 code 0.0.0.0\ifi_picdefs.h:1288: *** Error - Invalid 18f8520 header file!
error 1 spawning g:\vt\robotics\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Mon Nov 15 20:43:57 2004
I've seen this one before, see if any of this discussion helps.
http://www.chiefdelphi.com/forums/sh...ad.php?t=24677

My immediate suspicion is an incorrect MPLAB setting.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-11-2004 at 08:42.
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
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Header File error message Mike Yan Programming 2 09-02-2004 11:31
Needing A header file jweric Programming 19 23-01-2004 10:25
File Sharing and Revision Tracking Madison FIRST-related Organizations 14 04-06-2003 18:01
Improving PBASIC: Request for Comments Greg Ross Programming 19 16-02-2002 22:14


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

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