Go to Post Easy, we use Magic. Your team wasn't given that in the kit? - Michael Hill [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 02-02-2004, 16:46
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,856
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: Need Help: Build/Make Error

Quote:
Originally Posted by ZeoFateX
C:\First\EDU_Default_Code_2003-12-15\ifi_picdefs.h:1288: *** Error - Invalid 18f8520 header file!
error 1 spawning c:\mcc18\bin\cpp18
Halting build on first failure as requested.
BUILD FAILED: Mon Feb 02 15:47:54 2004
Is this the unadulterated EDU default code?

As you can see from the error message, the error you are seeing is due to line 1288 in ifi_picdefs.h. It's finding that you've defined the macro BANKED when you shouldn't have. As you can see in ifi_defs.h BANKED is defined after this check. It's unclear how you were able to do this.
Possible explanations include:
- The files have been corrupted or modified in some way.
- You built a new project incorrectly or missed a file.
- You commented out the lines:
Code:
#ifndef __ifi_picdefs_h_
#define __ifi_picdefs_h_
AND included ifi_picdefs.h twice in one file.

This is what a successful compile of that default code should look like:
Code:
Deleting intermediary files... done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "c:\mcc18\bin\mplink.exe" /l"c:\mcc18\lib" "18f8520user.lkr" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\ifi_utilities.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\main.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\printf_lib.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\ifi_startup.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\user_routines.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\user_routines_fast.o" "C:\FIRST\EDU\EDU_Default_Code_2003-12-15\ifi_library.lib" /m"EduCode.map" /o"EduCode.cof"
MPLINK 3.40, Linker
Copyright (c) 2003 Microchip Technology Inc.
Errors    : 0

MP2COD 3.40, COFF to COD File Converter
Copyright (c) 2003 Microchip Technology Inc.
Errors    : 0

MP2HEX 3.40, COFF to HEX File Converter
Copyright (c) 2003 Microchip Technology Inc.
Errors    : 0

Loaded C:\FIRST\EDU\EDU_Default_Code_2003-12-15\EduCode.cof
BUILD SUCCEEDED: Mon Feb 02 16:26:37 2004
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2004 at 07:53.
 


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
Mplab startup error Team 869 Programming 6 25-01-2004 10:41
Basic Run Error BBFIRSTCHICK Programming 10 02-04-2003 22:43
EMERGENCY! EPROM FULL error?!? CHSguard72 Programming 2 05-03-2003 20:51
Basic Run Error Ulibrium Programming 12 21-02-2002 01:02
programming error agenova Programming 1 20-02-2002 13:00


All times are GMT -5. The time now is 23:57.

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