各位 我用的是MPLAB 8.6配 PICC18 9.8的编译器 但是在编译PIC18F85J10单片机的程序时 总是报错
错误见下面 想问下有没有可能死MPLAB 与不同版本PICC兼容的问题
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Timer0_Isr.p1" doesn't exist.
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Dog_Main.p1" doesn't exist.
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Flash_Check.p1" doesn't exist.
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Flash_Opera.p1" doesn't exist.
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Gps_Uart.p1" doesn't exist.
Clean Warning: File "E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\OBJ\Interrupt_ISR.p1" doesn't exist.
Clean: Done.
Build E:\Old_TX_TT_Work\SED_TT_PRG\Ti_Relase\Ti_Oem_Relase for device 18F85J10
Using driver C:\Program Files\HI-TECH Software\PICC-18\9.80\bin\picc18.exe
Executing: "C:\Program Files\HI-TECH Software\PICC-18\9.80\bin\picc18.exe" --pass1 E:\Old_TX_TT_Work\SED_TT_PRG\SRC\LED_DRIVE.c -q --chip=18F85J10 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 27.41 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 27.41 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 27.41 conflicting declarations for variable "TOSU" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5476)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 28.41 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 28.41 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 28.41 conflicting declarations for variable "TOSH" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5464)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 29.41 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 29.41 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 29.41 conflicting declarations for variable "TOSL" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5452)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 30.43 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 30.43 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 30.43 conflicting declarations for variable "STKPTR" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5409)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 31.43 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 31.43 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 31.43 conflicting declarations for variable "PCLATU" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5397)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 32.43 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 32.43 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 32.43 conflicting declarations for variable "PCLATH" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5385)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 33.40 identifier is already extern; can't be static
Error [985] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 33.40 qualifiers redeclared
Error [1098] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 33.40 conflicting declarations for variable "PCL" (C:\Program Files\HI-TECH Software\PICC-18\9.80\include\pic18f85j10.h:5373)
Warning [367] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 34.44 identifier is already extern; can't be static
Error [984] E:\Old_TX_TT_Work\SED_TT_PRG\SRC\pic18f87j10.h; 34.44 type redeclared