Author Topic: 編amule 2.2.5 老是出現錯誤 [FIXED]  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

wugi

  • Administrator
  • Newbie
  • *****
  • Posts: 44
編amule 2.2.5 老是出現錯誤 [FIXED]
« on: June 14, 2009, 02:11:41 pm »
編譯amule-2.2.5老是出現錯誤, 不知是哪裡有問題...
Code: [Select]
...
BarShader.cpp:233: error: ‘WxColourFromCr’ was not declared in this scope
BarShader.cpp:234: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:235: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:248: error: variable ‘wxPen pen’ has initializer but incomplete type
BarShader.cpp:248: error: invalid use of undefined type ‘struct wxColour’
/usr/include/wx-2.8/wx/cursor.h:15: error: forward declaration of ‘struct wxColour’
BarShader.cpp:249: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:252: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:255: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
BarShader.cpp:259: error: invalid use of undefined type ‘struct wxDC’
/usr/include/wx-2.8/wx/dc.h:33: error: forward declaration of ‘struct wxDC’
make[3]: *** [libmuleappgui_a-BarShader.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
« Last Edit: August 15, 2010, 01:05:18 am by wugi »

wugi

  • Administrator
  • Newbie
  • *****
  • Posts: 44
回覆: 編amule 2.2.5 老是出現錯誤
« Reply #1 on: August 09, 2009, 09:53:23 pm »
終於讓我成功啦, 重新編一個把wxbase 把x和其它一堆的東東都編進去就ok了, 可以參考 http://www.orz101.com/node/397
« Last Edit: August 15, 2010, 01:04:59 am by wugi »

 

anything