|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MPLAB build error
This is pretty sad, I know. But does anyone know what this means? And how to solve it?
Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p18F8520 "asm_lib.asm" /l"asm_lib.lst" /e"asm_lib.err" /o"asm_lib.o" /d_FRC_BOARD Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"c:\mcc18\h" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"c:\mcc18\h" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- D:\Jan8code\ifi_picdefs.h:1289:Error [1099] *** Error - Invalid 18f8520 header file! Halting build on first failure as requested. BUILD FAILED: Mon Jan 10 00:40:29 2005 That's the error I got while trying to build (compile) the DEFAULT code! I did not modify the picdefs header file so I don't know why this error would come up. Did I install the program wrong or something? I also tried compiling the camera code from the innovation first website and it isn't working. Did anyone sucessfully download and use the camera code yet? |
|
#2
|
||||
|
||||
|
Re: MPLAB build error
Interesting... It compiles ifi_startup.c OK. Startup uses the same file... You have something else wrong...Did you change anything at all?
|
|
#3
|
|||||
|
|||||
|
Re: MPLAB build error
We this error turned up on the forums during the season last year, but it reportedly "went away." You can seach on "banked" to easily locate that conversation.
What seems to be happening is the #define __ifi_picdefs_h_ is lost by the second time ifi_picdefs.h is included. or You've added a #define of your own for BANKED. Last edited by Mark McLeod : 10-01-2005 at 09:57. |
|
#4
|
|||
|
|||
|
Re: MPLAB build error
Do you have the C182.4 compiler? It might be trying to get a Lib or Include that it doesn't have. Just a thought....
|
|
#5
|
|||
|
|||
|
Re: MPLAB build error
I haven't changed anything to the default code. I'll try downloading the default code again to see if I accidentally modified it. I also want to try uninstalling the programs and reinstalling them later on today. Here's the steps that I followed:
1) Install MPLAB IDE v7.00 2) Install C18 v2.4 compiler 3) Install IFI Loader (newest one from innovation first) Are these the steps that you guys followed? Also, just a question, what does this do exactly.. #define __ifi_picdefs_h_? I see the #define _"filename"_ command at the top of every header file. |
|
#6
|
|||||
|
|||||
|
Re: MPLAB build error
Quote:
The sequence: Code:
#ifndef __ifi_picdefs_h_ #define __ifi_picdefs_h_ You're getting your problem when ifi_utilities.c pulls in ifi_default.h (via the include statement) which in turn includes ifi_picdefs.h This shouldn't be a problem, but what seems to be happening is that something is remembering the define BANKED (used only within ifi_picdefs.h) from the previous compile of ifi_startup.c Last edited by Mark McLeod : 10-01-2005 at 14:21. |
|
#7
|
|||
|
|||
|
Re: MPLAB build error
That is the steps that I followed. Do you have the C18 2.4 compiler? If so, PM me please... thx
|
|
#8
|
|||
|
|||
|
Re: MPLAB build error
Quote:
Have you downloaded the new compiler yet? If not, it's posted on the FIRST site, and the link works! Also, I finally got the code compiled by uninstalling the programs and just installing the ones included on the CD (rather than the upated ones). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPLAB IDE 6.60 Error | mchan1111 | Programming | 8 | 08-11-2004 20:17 |
| OCCRA Teams - where do you build? | Phil 33 | OCCRA | 7 | 28-10-2004 21:41 |
| MPlab error | ryan_f | Programming | 9 | 24-05-2004 07:30 |
| Error message in MPLAB IDE | dddriveman | Programming | 11 | 18-03-2004 06:34 |
| Mplab startup error | Team 869 | Programming | 6 | 25-01-2004 10:41 |