各位 我用的是MPLAB 8.6配 PICC18 9.8的编译器 但是在编译PIC18F85J10单片机的程序时 总是报错
错误见下面 想问下有没有可能死MPLAB 与不同版本PICC兼容的问题
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJTimer0_Isr.p1" doesn't exist.
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJDog_Main.p1" doesn't exist.
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJFlash_Check.p1" doesn't exist.
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJFlash_Opera.p1" doesn't exist.
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJGps_Uart.p1" doesn't exist.
Clean Warning: File "E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseOBJInterrupt_ISR.p1" doesn't exist.
Clean: Done.
Build E:Old_TX_TT_WorkSED_TT_PRGTi_RelaseTi_Oem_Relase for device 18F85J10
Using driver C:Program FilesHI-TECH SoftwarePICC-189.80inpicc18.exe
Executing: "C:Program FilesHI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 E:Old_TX_TT_WorkSED_TT_PRGSRCLED_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_WorkSED_TT_PRGSRCpic18f87j10.h; 27.41 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 27.41 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 27.41 conflicting declarations for variable "TOSU" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5476)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 28.41 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 28.41 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 28.41 conflicting declarations for variable "TOSH" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5464)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 29.41 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 29.41 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 29.41 conflicting declarations for variable "TOSL" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5452)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 30.43 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 30.43 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 30.43 conflicting declarations for variable "STKPTR" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5409)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 31.43 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 31.43 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 31.43 conflicting declarations for variable "PCLATU" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5397)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 32.43 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 32.43 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 32.43 conflicting declarations for variable "PCLATH" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5385)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 33.40 identifier is already extern; can't be static
Error [985] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 33.40 qualifiers redeclared
Error [1098] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 33.40 conflicting declarations for variable "PCL" (C:Program FilesHI-TECH SoftwarePICC-189.80includepic18f85j10.h:5373)
Warning [367] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 34.44 identifier is already extern; can't be static
Error [984] E:Old_TX_TT_WorkSED_TT_PRGSRCpic18f87j10.h; 34.44 type redeclared
此帖出自
小平头技术问答
一周热门 更多>