本人在使用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的编译器或者是帮忙解答一下疑惑,在线等。。。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
现在安装了XC8,不会出现这个问题了。。。但是编译还是出现莫名其妙的错误。。
Build G:work-ghznDNER-07AV2.10liciqi08 for device 18F45K22
Using driver C:Program Files (x86)Microchipxc8v1.32inxc8.exe
Make: The target "G:work-ghznDNER-07AV2.10disp.p1" is out of date.
Executing: "C:Program Files (x86)Microchipxc8v1.32inxc8.exe" --pass1 G:work-ghznDNER-07AV2.10disp.c -q --chip=18F45K22 -P --runtime=default --opt=default -N-1 -D__DEBUG=1 -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 C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.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" (C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.h:65)
(908) exit status = 1
Make: The target "G:work-ghznDNER-07AV2.10keyrom.p1" is out of date.
Executing: "C:Program Files (x86)Microchipxc8v1.32inxc8.exe" --pass1 G:work-ghznDNER-07AV2.10keyrom.c -q --chip=18F45K22 -P --runtime=default --opt=default -N-1 -D__DEBUG=1 -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 C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.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" (C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.h:65)
(908) exit status = 1
Make: The target "G:work-ghznDNER-07AV2.10main.p1" is up to date.
Make: The target "G:work-ghznDNER-07AV2.10msccom.p1" is up to date.
Make: The target "G:work-ghznDNER-07AV2.10subdeal.p1" is out of date.
Executing: "C:Program Files (x86)Microchipxc8v1.32inxc8.exe" --pass1 G:work-ghznDNER-07AV2.10subdeal.c -q --chip=18F45K22 -P --runtime=default --opt=default -N-1 -D__DEBUG=1 -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 C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.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" (C:Program Files (x86)Microchipxc8v1.32includeGenericTypeDefs.h:65)
(908) exit status = 1
Make: The target "G:work-ghznDNER-07AV2.10 qcontrol.p1" is up to date.
********** Build failed! **********
错误都是指向typedef enum _BOOL { FALSE = 0, TRUE } BOOL; 这一句。。。。
搞不懂
一周热门 更多>