OpenEdv-开源电子网

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

ucgui移植过程中出现这样的错误,是什么情况

[复制链接]

8

主题

18

帖子

0

精华

初级会员

Rank: 2

积分
81
金钱
81
注册时间
2013-11-23
在线时间
2 小时
发表于 2014-3-21 20:08:25 | 显示全部楼层 |阅读模式

..\HARDWARE\GUI\Core\GUIType.h(47): error:  #20: identifier "LCD_COLOR" is undefined
..\HARDWARE\GUI\Core\GUIType.h:   typedef LCD_COLOR       GUI_COLOR;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(48): error:  #20: identifier "LCD_LOGPALETTE" is undefined
..\HARDWARE\GUI\Core\GUIType.h:   typedef LCD_LOGPALETTE  GUI_LOGPALETTE;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(49): error:  #20: identifier "LCD_DRAWMODE" is undefined
..\HARDWARE\GUI\Core\GUIType.h:   typedef LCD_DRAWMODE    GUI_DRAWMODE;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(50): error:  #20: identifier "LCD_RECT" is undefined
..\HARDWARE\GUI\Core\GUIType.h:   typedef LCD_RECT        GUI_RECT;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(53): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     void      (* pfDraw)(int x0,int y0,int xsize, int ysize, const U8 GUI_UNI_PTR * pPixel, const LCD_LOGPALETTE GUI_UNI_PTR * pLogPal, int xMag, int yMag);
..\HARDWARE\GUI\Core\GUIType.h:                                                                    ^
..\HARDWARE\GUI\Core\GUIType.h(53): error:  #20: identifier "LCD_LOGPALETTE" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     void      (* pfDraw)(int x0,int y0,int xsize, int ysize, const U8 GUI_UNI_PTR * pPixel, const LCD_LOGPALETTE GUI_UNI_PTR * pLogPal, int xMag, int yMag);
..\HARDWARE\GUI\Core\GUIType.h:                                                                                                   ^
..\HARDWARE\GUI\Core\GUIType.h(58): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P XSize;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(59): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P YSize;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(60): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P BytesPerLine;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(61): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P BitsPerPixel;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(62): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     const U8 GUI_UNI_PTR * pData;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(73): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 ID;           /* Version 1.00 => 100*/
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(74): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 Version;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(75): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 XSize;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(76): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 YSize;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(77): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 BytesPerLine;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(78): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 BitsPerPixel;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(79): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 NumColors;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(80): error:  #20: identifier "U16" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16 HasTrans;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(100): error:  #20: identifier "I16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     I16P c0;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(101): error:  #20: identifier "I16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     I16P c1;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(105): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P FirstChar;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(106): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P LastChar;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(111): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U8 XSize;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(112): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U8 XDist;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(113): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U8 BytesPerLine;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(118): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P First;                                /* first character               */
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(119): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P Last;                                 /* last character                */
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h(126): error:  #20: identifier "U8" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     const U8 GUI_UNI_PTR * pTransData;
..\HARDWARE\GUI\Core\GUIType.h:           ^
..\HARDWARE\GUI\Core\GUIType.h(128): error:  #20: identifier "U16P" is undefined
..\HARDWARE\GUI\Core\GUIType.h:     U16P FirstChar;
..\HARDWARE\GUI\Core\GUIType.h:     ^
..\HARDWARE\GUI\Core\GUIType.h: main.c: 0 warnings, 30 errors

我把LCD的底层驱动文件名改了,怎么还会出现这样的情况,求指导

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165225
金钱
165225
注册时间
2010-12-1
在线时间
2107 小时
发表于 2014-3-22 00:18:29 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2024-11-1 12:42

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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