Hi.
i tried to port STemwin to my project using this tut...
but after compiling i faced these errors:
Display All
i know.. these errors caused by some missing #include .. probably? but don't know which one...
help me please
i tried to port STemwin to my project using this tut...
but after compiling i faced these errors:
Source Code
- ..\EmWin\inc\GUI_Type.h(70): error: #20: identifier "LCD_COLOR" is undefined
- typedef LCD_COLOR GUI_COLOR;
- ..\EmWin\inc\GUI_Type.h(71): error: #20: identifier "LCD_LOGPALETTE" is undefined
- typedef LCD_LOGPALETTE GUI_LOGPALETTE;
- ..\EmWin\inc\GUI_Type.h(72): error: #20: identifier "LCD_DRAWMODE" is undefined
- typedef LCD_DRAWMODE GUI_DRAWMODE;
- ..\EmWin\inc\GUI_Type.h(73): error: #20: identifier "LCD_RECT" is undefined
- typedef LCD_RECT GUI_RECT;
- ..\EmWin\inc\GUI_Type.h(80): error: #20: identifier "U8" is undefined
- const U8 * pPixel,
- ..\EmWin\inc\GUI_Type.h(81): error: #20: identifier "LCD_LOGPALETTE" is undefined
- const LCD_LOGPALETTE * pLogPal,
- ..\EmWin\inc\GUI_Type.h(89): error: #20: identifier "U8" is undefined
- const U8 * pPixel,
- ..\EmWin\inc\GUI_Type.h(90): error: #20: identifier "LCD_LOGPALETTE" is undefined
- const LCD_LOGPALETTE * pLogPal,
- ..\EmWin\inc\GUI_Type.h(93): error: #20: identifier "LCD_API_COLOR_CONV" is undefined
- const LCD_API_COLOR_CONV * pColorConvAPI;
- ..\EmWin\inc\GUI_Type.h(97): error: #20: identifier "U16P" is undefined
- U16P XSize;
- ..\EmWin\inc\GUI_Type.h(98): error: #20: identifier "U16P" is undefined
- U16P YSize;
- ..\EmWin\inc\GUI_Type.h(99): error: #20: identifier "U16P" is undefined
- U16P BytesPerLine;
- ..\EmWin\inc\GUI_Type.h(100): error: #20: identifier "U16P" is undefined
- U16P BitsPerPixel;
- ..\EmWin\inc\GUI_Type.h(101): error: #20: identifier "U8" is undefined
- const U8 * pData;
- ..\EmWin\inc\GUI_Type.h(112): error: #20: identifier "U16" is undefined
- U16 ID;
- ..\EmWin\inc\GUI_Type.h(113): error: #20: identifier "U16" is undefined
- U16 Format;
- ..\EmWin\inc\GUI_Type.h(114): error: #20: identifier "U16" is undefined
- U16 XSize;
- ..\EmWin\inc\GUI_Type.h(115): error: #20: identifier "U16" is undefined
- U16 YSize;
- ..\EmWin\inc\GUI_Type.h(116): error: #20: identifier "U16" is undefined
- U16 BytesPerLine;
- ..\EmWin\inc\GUI_Type.h(117): error: #20: identifier "U16" is undefined
- U16 BitsPerPixel;
- ..\EmWin\inc\GUI_Type.h(118): error: #20: identifier "U16" is undefined
- U16 NumColors;
- ..\EmWin\inc\GUI_Type.h(119): error: #20: identifier "U16" is undefined
- U16 HasTrans;
- ..\EmWin\inc\GUI_Type.h(124): error: #20: identifier "U32" is undefined
- U32 v;
- ..\EmWin\inc\GUI_Type.h(140): error: #20: identifier "U8" is undefined
- U8 Pressed;
- ..\EmWin\inc\GUI_Type.h(141): error: #20: identifier "U8" is undefined
- U8 Layer;
- ..\EmWin\inc\GUI_Type.h(189): error: #20: identifier "I16P" is undefined
- I16P c0;
- ..\EmWin\inc\GUI_Type.h(190): error: #20: identifier "I16P" is undefined
- I16P c1;
- ..\EmWin\inc\GUI_Type.h(194): error: #20: identifier "U16P" is undefined
- U16P FirstChar;
- ..\EmWin\inc\GUI_Type.h(195): error: #20: identifier "U16P" is undefined
- U16P LastChar;
- ..\EmWin\inc\GUI_Type.h(200): error: #20: identifier "U8" is undefined
- U8 XSize;
- ../Src/main.c: 0 warnings, 30 errors
help me please