请问browse information of one or more files is not available 这个是什么错误(已解决)

2019-07-20 22:56发布


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都有定义的
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
27条回答
ZZBEAM
1楼-- · 2019-07-23 02:46
同求怎么解决?
ZZBEAM
2楼-- · 2019-07-23 06:17
 精彩回答 2  元偷偷看……
1013556376
3楼-- · 2019-07-23 12:09
 精彩回答 2  元偷偷看……
yerdong
4楼-- · 2019-07-23 17:33
添加玩C源文件后,需要在目标选项里添加文件路径
arao和xiaomi
5楼-- · 2019-07-23 20:55
yerdong 发表于 2017-12-8 11:46
添加玩C源文件后,需要在目标选项里添加文件路径

我也添加了呀,为什么还会报错呢?而且显示就是新添加的 C文件不能加进去,不知道是为什么
huhui2011
6楼-- · 2019-07-24 00:06
我也碰到了,我的代码是用stm32CubeMx生成的。原因是在.c/.h文件中包含了hal库里面的stm32l1xx_hal_gpio.h文件,可能是文件包含顺序的问题吧(我猜的)。解决方法:include“stm32l1xx_hal_gpio.h”改成include "stm32l1xx_hal.h"问题解决。

一周热门 更多>