Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   error - Invalid 18f8520 header file! (http://www.chiefdelphi.com/forums/showthread.php?t=31255)

vtrehan 15-11-2004 21:28

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.

Joshua May 15-11-2004 22:37

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.

Mark McLeod 16-11-2004 08:31

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.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi