回复【2楼】李牧林:
---------------------------------
问你个问题,你移植ucGUI的时候是不是用的ucGUI的源码??
我也是用的是源码,但是移植后在core中的lcd.c中提示很多的error.
..\ucGUI\Core\LCD.c(410): error: #247: function "_GetColorIndex" has already been defined
..\ucGUI\Core\LCD.c(424): error: #247: function "LCD_SetColorIndex" has already been defined
..\ucGUI\Core\LCD.c(432): error: #247: function "LCD_SetBkColorIndex" has already been defined
..\ucGUI\Core\LCD.c(440): error: #247: function "LCD_SetDrawMode" has already been defined
..\ucGUI\Core\LCD.c(455): error: #247: function "LCD_DrawPixel" has already been defined
..\ucGUI\Core\LCD.c(469): error: #247: function "LCD_DrawHLine" has already been defined
..\ucGUI\Core\LCD.c(483): error: #247: function "LCD_FillRect" has already been defined
..\ucGUI\Core\LCD.c(499): error: #247: function "LCD_DrawBitmap" has already been defined
..\ucGUI\Core\LCD.c(613): error: #247: function "LCD_SetClipRectMax" has already been defined
..\ucGUI\Core\LCD.c(621): error: #247: function "LCD_Init" has already been defined
..\ucGUI\Core\LCD.c(664): error: #247: function "LCD_Color2Index" has already been defined
..\ucGUI\Core\LCD.c(672): error: #247: function "LCD_Index2Color" has already been defined
..\ucGUI\Core\LCD.c(680): error: #247: function "LCD_SetBkColor" has already been defined
..\ucGUI\Core\LCD.c(691): error: #247: function "LCD_SetColor" has already been defined