采用Dev-Cpp编译wxWidgets时冲突
请教一下:
采用 Dev-Cpp编译wxWidgets时 总是提示 wx/msw/missing.h 中的 定义 和 Dev-Cpp/include/winuser.h 冲突,
请教一下 应该如何解决
In file included from ../../src/common/strconv.cpp:20:
../../include/wx/msw/missing.h:467: error: conflicting types for `typedef
struct NCCALCSIZE_PARAMS NCCALCSIZE_PARAMS'
D:/projects/wx/Dev-Cpp/include/winuser.h:2783: error: previous declaration as `
typedef struct tagNCCALCSIZE_PARAMS NCCALCSIZE_PARAMS'
../../include/wx/msw/missing.h:467: error: conflicting types for `typedef
struct NCCALCSIZE_PARAMS*LPNCCALCSIZE_PARAMS'
D:/projects/wx/Dev-Cpp/include/winuser.h:2783: error: previous declaration as `
typedef struct tagNCCALCSIZE_PARAMS*LPNCCALCSIZE_PARAMS'
mingw32-make: *** [gcc_mswdll\basedll_strconv.o] Error 1
[解决办法]
直接用wxdevcpp即可,你为什么还要自己编译?