标题: STM32F4移植UCGUI的问题 [打印本页]

作者: zlkj    时间: 2020-4-2 21:05
标题: STM32F4移植UCGUI的问题
KEIL出现下面的问题,如何解决?敬请指教
..\GUI\Core\GUIType.h(47): error:  #20: identifier "LCD_COLOR" is undefined
..\GUI\Core\GUIType.h(48): error:  #20: identifier "LCD_LOGPALETTE" is undefined
..\GUI\Core\GUIType.h(49): error:  #20: identifier "LCD_DRAWMODE" is undefined
..\GUI\Core\GUIType.h(50): error:  #20: identifier "LCD_RECT" is undefined
..\GUI\Core\GUIType.h(53): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(53): error:  #20: identifier "LCD_LOGPALETTE" is undefined
..\GUI\Core\GUIType.h(58): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(59): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(60): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(61): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(62): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(73): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(74): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(75): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(76): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(77): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(78): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(79): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(80): error:  #20: identifier "U16" is undefined
..\GUI\Core\GUIType.h(100): error:  #20: identifier "I16P" is undefined
..\GUI\Core\GUIType.h(101): error:  #20: identifier "I16P" is undefined
..\GUI\Core\GUIType.h(105): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(106): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(111): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(112): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(113): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(118): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(119): error:  #20: identifier "U16P" is undefined
..\GUI\Core\GUIType.h(126): error:  #20: identifier "U8" is undefined
..\GUI\Core\GUIType.h(128): error:  #20: identifier "U16P" is undefined

作者: moluxiyan    时间: 2020-4-3 08:43
你肯定少添加文件了
作者: qixin    时间: 2020-5-18 14:28
我移植跟你的报错一样 仔细检查LCD底层驱动文件是否有命名的   LCD_H
是#include"LCD.h"没有包含进去




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1