pic18F编译器的问题。。。求助

2020-02-06 10:33发布

本人在使用pic18F45K22芯片的时候如下图出现的问题。。。

the project file references a language toolsuite that you currently do not have installed on your system.If you continue,the project will be modified to use another language toosuite.

有道翻译:项目文件引用语言toolsuite,您目前没有安装在您的系统上。如果你继续下去,该项目将使用另一种语言toosuite被修改。

为此我查看了工程设置里面的ACTIVE toolsuite,默认成Microchip MPASM toolsuite。如图三。。

应该是编译器的问题,我试着去重新下载安装了HI-TECH...结果ACTIVE toolsuite里面还是没有HI-TECH这个选项。。。工程照样无法编译。。



本人以前使用30F系列的芯片,一直都用C30编译器,用的好好的。。。

求大神给一个18F的编译器或者是帮忙解答一下疑惑,在线等。。。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
12条回答
王家发sensei
2020-02-07 05:46
Build G:work-ghznDNER-07AV2.10liciqi08 for device 18F45K22
Using driver g:HI-TECH SoftwarePICC-189.80inpicc18.exe

Make: The target "G:work-ghznDNER-07AV2.10disp.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10disp.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [255] G:work-ghznDNER-07AV2.10disp.c; 271.13 not a member of the struct/union ""
Error   [182] G:work-ghznDNER-07AV2.10disp.c; 271.18 illegal conversion between types
int -> union S1225
Error   [255] G:work-ghznDNER-07AV2.10disp.c; 970.18 not a member of the struct/union ""
Error   [182] G:work-ghznDNER-07AV2.10disp.c; 970.18 illegal conversion between types
union S1225 -> unsigned char
Error   [181] G:work-ghznDNER-07AV2.10disp.c; 970.18 non-scalar types can't be converted to other types
Error   [255] G:work-ghznDNER-07AV2.10disp.c; 994.18 not a member of the struct/union ""
Error   [182] G:work-ghznDNER-07AV2.10disp.c; 994.18 illegal conversion between types
union S1225 -> unsigned char
Error   [181] G:work-ghznDNER-07AV2.10disp.c; 994.18 non-scalar types can't be converted to other types
Make: The target "G:work-ghznDNER-07AV2.10keyrom.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10keyrom.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [255] G:work-ghznDNER-07AV2.10keyrom.c; 60.11 not a member of the struct/union ""
Error   [182] G:work-ghznDNER-07AV2.10keyrom.c; 60.16 illegal conversion between types
int -> union S1225
Make: The target "G:work-ghznDNER-07AV2.10main.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10main.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Make: The target "G:work-ghznDNER-07AV2.10msccom.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10msccom.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Make: The target "G:work-ghznDNER-07AV2.10subdeal.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10subdeal.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [255] G:work-ghznDNER-07AV2.10subdeal.c; 152.11 not a member of the struct/union ""
Error   [182] G:work-ghznDNER-07AV2.10subdeal.c; 152.13 illegal conversion between types
int -> union S1225
Make: The target "G:work-ghznDNER-07AV2.10 qcontrol.p1" is out of date.
Executing: "g:HI-TECH SoftwarePICC-189.80inpicc18.exe" --pass1 G:work-ghznDNER-07AV2.10 qcontrol.c -q --chip=18F45K22 -P --runtime=default,+clear,+init,-keep,-download,+stackwarn,-config,+clib,+plib --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -N255 -D__DEBUG=1 -Blarge --double=32 --float=32 --cp=16 --addrqual=ignore -g --asmlist "--errformat=Error   [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error   [1348] G:work-ghznDNER-07AV2.10syslcq.h; 168.20 enum tag "_BOOL" redefined (from g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.22 conflicting declarations for variable "FALSE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)
Error   [986] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 enum member redeclared
Error   [1098] G:work-ghznDNER-07AV2.10syslcq.h; 168.33 conflicting declarations for variable "TRUE" (g:HI-TECH SoftwarePICC-189.80includeGenericTypeDefs.h:65)

********** Build failed! **********
请问大师,这个错误时哪里没有设置好?

一周热门 更多>