OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 5263|回复: 2

移植GUI怎么办?

[复制链接]

13

主题

26

帖子

0

精华

初级会员

Rank: 2

积分
100
金钱
100
注册时间
2013-8-25
在线时间
0 小时
发表于 2014-12-2 10:57:41 | 显示全部楼层 |阅读模式
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的文件。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

88

主题

7377

帖子

5

精华

资深版主

Rank: 8Rank: 8

积分
14980
金钱
14980
注册时间
2013-11-13
在线时间
1823 小时
发表于 2014-12-2 10:57:42 | 显示全部楼层
你使用的GUI_X_uCOS.c文件是要有UCOS系统支持的,但是你的工程里面应该是没有移植UCOS系统,所以导致这么多错误。把GUI_X_uCOS.c文件替换成那个不使用UCOS的文件。
开往春天的手扶拖拉机
回复

使用道具 举报

12

主题

63

帖子

0

精华

初级会员

Rank: 2

积分
188
金钱
188
注册时间
2014-4-6
在线时间
46 小时
发表于 2014-12-2 12:35:46 | 显示全部楼层
哦,又长知识了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-28 12:27

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表