|
以前用MDK9.2时是可以正常编译的,可是在MDK10下面就始终无法编译。./configure都正确了,xwgtk那些也装了 (如果没装./configure过不了吧?)
提示如下
- If you want verbose make output, try make VERBOSE=1.
- make[1]: Entering directory `/tx/source/xmule-1.8.2b/src'
- make[2]: Entering directory `/tx/source/xmule-1.8.2b/src/wx/xrc'
- make[2]: Nothing to be done for `all'.
- make[2]: Leaving directory `/tx/source/xmule-1.8.2b/src/wx/xrc'
- Compiling MuleListCtrl.cpp...
- In file included from listctrl.h:40,
- from MuleListCtrl.h:28,
- from MuleListCtrl.cpp:25:
- listbase.h:203: error: field `m_colText' has incomplete type
- listbase.h:204: error: field `m_colBack' has incomplete type
- listbase.h:205: error: field `m_font' has incomplete type
- listbase.h: In constructor `wxListItemAttr::wxListItemAttr(const wxColour&, const wxColour&, const wxFont&)':
- listbase.h:186: error: class `wxListItemAttr' does not have any field named `m_colText'
- listbase.h:186: error: class `wxListItemAttr' does not have any field named `m_colBack'
- listbase.h:186: error: class `wxListItemAttr' does not have any field named `m_font'
- listbase.h: In member function `void wxListItemAttr::SetTextColour(const wxColour&)':
- listbase.h:189: error: `m_colText' undeclared (first use this function)
- listbase.h:189: error: (Each undeclared identifier is reported only once for each function it appears in.)
- listbase.h: In member function `void wxListItemAttr::SetBackgroundColour(const wxColour&)':
- listbase.h:190: error: `m_colBack' undeclared (first use this function)
- listbase.h: In member function `void wxListItemAttr::SetFont(const wxFont&)':
- listbase.h:191: error: `m_font' undeclared (first use this function)
- listbase.h: In member function `wxColour wxListItem::GetTextColour() const':
- listbase.h:288: error: return type `struct wxColour' is incomplete
- listbase.h: In member function `wxColour wxListItem::GetBackgroundColour() const':
- listbase.h:290: error: return type `struct wxColour' is incomplete
- listbase.h: In member function `wxFont wxListItem::GetFont() const':
- listbase.h:293: error: return type `struct wxFont' is incomplete
- make[1]: *** [MuleListCtrl.o] 错误 1
- make[1]: Leaving directory `/tx/source/xmule-1.8.2b/src'
- make: *** [all] 错误 2
复制代码 |
|