初级会员

- 积分
- 100
- 金钱
- 100
- 注册时间
- 2013-8-25
- 在线时间
- 0 小时
|
5金钱
..\uCGUI\uCGUIDemo\GUIDEMO_Touch.c(187): warning: #870-D: invalid multibyte character sequence
..\uCGUI\uCGUIDemo\GUIDEMO_Touch.c(187): warning: #870-D: invalid multibyte character sequence
..\uCGUI\uCGUIDemo\GUIDEMO_Touch.c(187): warning: #870-D: invalid multibyte character sequence
compiling GUI_X_uCOS.c...
..\uCGUI\GUI_X\GUI_X_uCOS.c(40): error: #20: identifier "OS_EVENT" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(41): error: #20: identifier "OS_EVENT" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(43): error: #20: identifier "OS_EVENT" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(59): warning: #223-D: function "OSTimeGet" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(65): error: #20: identifier "INT32U" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(68): error: #20: identifier "OS_TICKS_PER_SEC" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(69): warning: #223-D: function "OSTimeDly" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(69): error: #20: identifier "INT16U" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(69): error: #18: expected a ")"
..\uCGUI\GUI_X\GUI_X_uCOS.c(81): warning: #223-D: function "OSTimeDly" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(97): warning: #223-D: function "OSSemCreate" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(97): error: #513: a value of type "int" cannot be assigned to an entity of type "<error-type> *"
..\uCGUI\GUI_X\GUI_X_uCOS.c(98): warning: #223-D: function "OSMboxCreate" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(98): error: #513: a value of type "int" cannot be assigned to an entity of type "<error-type> *"
..\uCGUI\GUI_X\GUI_X_uCOS.c(104): error: #20: identifier "INT8U" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(107): warning: #223-D: function "OSSemPend" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(113): warning: #223-D: function "OSSemPost" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(119): error: #20: identifier "OSTCBCur" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(132): error: #20: identifier "INT8U" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(135): warning: #223-D: function "OSMboxPend" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(141): warning: #223-D: function "OSMboxPost" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(168): warning: #223-D: function "OSSemCreate" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(168): error: #513: a value of type "int" cannot be assigned to an entity of type "<error-type> *"
..\uCGUI\GUI_X\GUI_X_uCOS.c(187): error: #20: identifier "INT8U" is undefined
..\uCGUI\GUI_X\GUI_X_uCOS.c(192): warning: #223-D: function "OSSemPend" declared implicitly
..\uCGUI\GUI_X\GUI_X_uCOS.c(203): warning: #223-D: function "OSSemPost" declared implicitly
Target not created
那个GUIConf.c 里面GUI_OS 是设置的0啊,应该怎么办啊?
|
最佳答案
查看完整内容[请看2#楼]
你使用的GUI_X_uCOS.c文件是要有UCOS系统支持的,但是你的工程里面应该是没有移植UCOS系统,所以导致这么多错误。把GUI_X_uCOS.c文件替换成那个不使用UCOS的文件。
|