|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Ok i know that this is a strange build error... but when i compiled/ built the default code (not the camera version) i got this error:
Quote:
THANK YOU IN ADVANCE!! ~Stephanie Team 1351 |
|
#2
|
||||
|
||||
|
Re: Error in header file p18f8520.h !!!
Stephanie,
When I compile the default code dated 1-7-2005, this is what I get: Code:
Clean: Deleting intermediary and output files. Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\main.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_SerialDrv.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_routines.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_routines_fast.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\printf_lib.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\ifi_utilities.o". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\ifi_startup.o". Clean: Deleted file "FrcCode.cof". Clean: Deleted file "FrcCode.cod". Clean: Deleted file "FrcCode.hex". Clean: Deleted file "FrcCode.lst". Clean: Deleted file "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\FrcCode.mcs". Clean: Done. Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\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: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" -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" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8520user.lkr" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\main.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_SerialDrv.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_routines.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\user_routines_fast.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\printf_lib.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\ifi_utilities.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\ifi_startup.o" "C:\C_RC_Bot\FRC_DEFAULT_1_7_2005\FRC_library.lib" /o"FrcCode.cof" MPLINK 3.90, Linker Copyright (c) 2004 Microchip Technology Inc. Errors : 0 MP2COD 3.90, COFF to COD File Converter Copyright (c) 2004 Microchip Technology Inc. Errors : 0 |
|
#3
|
||||
|
||||
|
Re: Error in header file p18f8520.h !!!
To further Mr. Betts comment, installing C18 in the default directory "C:\mcc18" seems to solve about 95% of compile errors.
|
|
#4
|
|||||
|
|||||
|
Re: Error in header file p18f8520.h !!!
thanks guys
i got it working... i had previously reorganized the mcc18 folder, and it didnt like it... thanks again and happy programming ~Stephanie Team 1351 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error - Invalid 18f8520 header file! | vtrehan | Programming | 2 | 16-11-2004 08:31 |
| 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 |