DIALOG_SliderColor.c(139): error: #20: identifier "GUI_WIDGET_CREATE_INFO" is undefined
DIALOG_SliderColor.c(140): error: #20: identifier "FRAMEWIN_CreateIndirect" is undefined
DIALOG_SliderColor.c(140): error: #20: identifier "FRAMEWIN_CF_MOVEABLE" is undefined
DIALOG_SliderColor.c(141): error: #20: identifier "TEXT_CreateIndirect" is undefined
DIALOG_SliderColor.c(141): error: #20: identifier "TEXT_CF_LEFT" is undefined
DIALOG_SliderColor.c(144): error: #20: identifier "TEXT_CF_HCENTER" is undefined
DIALOG_SliderColor.c(145): error: #20: identifier "SLIDER_CreateIndirect" is undefined
DIALOG_SliderColor.c(148): error: #20: identifier "EDIT_CreateIndirect" is undefined
DIALOG_SliderColor.c(151): error: #20: identifier "BUTTON_CreateIndirect" is undefined
DIALOG_SliderColor.c(195): error: #20: identifier "WM_HWIN" is undefined
DIALOG_SliderColor.c(197): error: #20: identifier "WM_HWIN" is undefined
DIALOG_SliderColor.c(201): warning: #223-D: function "WM_GetDialogItem" declared implicitly
DIALOG_SliderColor.c(203): warning: #223-D: function "SLIDER_GetValue" declared implicitly
DIALOG_SliderColor.c(204): warning: #223-D: function "EDIT_SetValue" declared implicitly
DIALOG_SliderColor.c(208): warning: #223-D: function "WM_GetDialogItem" declared implicitly
DIALOG_SliderColor.c(210): warning: #223-D: function "EDIT_GetValue" declared implicitly
DIALOG_SliderColor.c(211): warning: #223-D: function "SLIDER_SetValue" declared implicitly
DIALOG_SliderColor.c(215): warning: #223-D: function "WM_InvalidateWindow" declared implicitly
DIALOG_SliderColor.c(215): warning: #223-D: function "WM_GetClientWindow" declared implicitly
DIALOG_SliderColor.c(222): error: #20: identifier "WM_MESSAGE" is undefined
DIALOG_SliderColor.c(226): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(227): error: #20: identifier "WM_PAINT" is undefined
DIALOG_SliderColor.c(235): warning: #223-D: function "WM_DefaultProc" declared implicitly
DIALOG_SliderColor.c(243): error: #20: identifier "WM_MESSAGE" is undefined
DIALOG_SliderColor.c(246): error: #20: identifier "WM_HWIN" is undefined
DIALOG_SliderColor.c(247): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(248): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(249): error: #20: identifier "WM_PAINT" is undefined
DIALOG_SliderColor.c(252): error: #20: identifier "WM_INIT_DIALOG" is undefined
DIALOG_SliderColor.c(254): warning: #223-D: function "WM_GetDialogItem" declared implicitly
DIALOG_SliderColor.c(255): warning: #223-D: function "SLIDER_SetRange" declared implicitly
DIALOG_SliderColor.c(256): warning: #223-D: function "SLIDER_SetValue" declared implicitly
DIALOG_SliderColor.c(259): warning: #223-D: function "EDIT_SetDecMode" declared implicitly
DIALOG_SliderColor.c(262): error: #20: identifier "WM_KEY" is undefined
DIALOG_SliderColor.c(263): error: #20: identifier "WM_KEY_INFO" is undefined
DIALOG_SliderColor.c(263): error: #29: expected an expression
DIALOG_SliderColor.c(263): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(268): warning: #223-D: function "GUI_EndDialog" declared implicitly
DIALOG_SliderColor.c(272): error: #20: identifier "WM_NOTIFY_PARENT" is undefined
DIALOG_SliderColor.c(273): warning: #223-D: function "WM_GetId" declared implicitly
DIALOG_SliderColor.c(273): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(274): error: #132: expression must have pointer-to-struct-or-union type
DIALOG_SliderColor.c(276): error: #20: identifier "WM_NOTIFICATION_RELEASED" is undefined
DIALOG_SliderColor.c(278): warning: #223-D: function "GUI_EndDialog" declared implicitly
DIALOG_SliderColor.c(281): warning: #223-D: function "GUI_EndDialog" declared implicitly
DIALOG_SliderColor.c(284): error: #20: identifier "WM_NOTIFICATION_VALUE_CHANGED" is undefined
DIALOG_SliderColor.c(290): warning: #223-D: function "WM_DefaultProc" declared implicitly
DIALOG_SliderColor.c(307): warning: #223-D: function "WM_SetCallback" declared implicitly
DIALOG_SliderColor.c(307): error: #20: identifier "WM_HBKWIN" is undefined
------------------
这个
DIALOG_SliderColor.c都有定义的
--------------------------------还有一种情况就是提示的.c文件里面包含的某个.h文件和这个.c文件不一个路径
进入main.c中查看include,发现main.h有 红叉,跟踪.h文件,到出现红叉的目的头文件中文件,可知
我使用的是stmf429,不是439,所以是STM32F439xx定义错了,
进入option for target 中的c/c++发现
更改为429即可
一周热门 更多>