用wxwidgets 2.9.0 的来

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
iamsky1981
Earned a small fee
Earned a small fee
Posts: 23
Joined: Fri May 16, 2008 2:35 am

用wxwidgets 2.9.0 的来

Post by iamsky1981 » Thu Jan 28, 2010 11:52 am

我现编译的wxWidgets-2.9.0,然后又编译的codeblocks,但是在编译CB的过程中,出现错误,错误如下:
../../../src/sdk/wxscintilla/include/wx/wxscintilla.h:2201: 错误:相互冲突的声明‘typedef long int wxIntPtr’
/usr/local/include/wx-2.9/wx/defs.h:1110: 错误:‘wxIntPtr’早先被声明为‘typedef ssize_t wxIntPtr’
In file included from ../../../src/include/sdk_common.h:122,
from ../../../src/include/sdk_precomp.h:14,
from tinywxuni.cpp:2:
../../../src/include/scrollingdialog.h:32: 错误:‘class wxDialogLayoutAdapter’重定义
/usr/local/include/wx-2.9/wx/dialog.h:239: 错误:‘class wxDialogLayoutAdapter’的上一个定义
../../../src/include/scrollingdialog.h:50: 错误:‘class wxStandardDialogLayoutAdapter’重定义
/usr/local/include/wx-2.9/wx/dialog.h:257: 错误:‘class wxStandardDialogLayoutAdapter’的上一个定义
make[3]: *** [tinywxuni.lo] 错误 1
make[3]: Leaving directory `/home/tj/cb/trunk/src/base/tinyxml'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/tj/cb/trunk/src/base'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/tj/cb/trunk/src'
make: *** [all-recursive] 错误 1




大家有没有遇到过这种错误,如何解决???????????

zlhgo
In need of some credit
In need of some credit
Posts: 5
Joined: Wed Nov 12, 2008 7:05 am
Location: china

Post by zlhgo » Sat Jan 30, 2010 12:51 pm

wx 2.9 好像有 wxscintilla?

Loaden
I live to help wx-kind
I live to help wx-kind
Posts: 177
Joined: Tue Feb 19, 2008 10:21 am
Location: China

Post by Loaden » Fri Feb 12, 2010 7:35 pm

你可以尝试下最新的SVN6155,最近几个版本都在修正wx2.9编译的问题。
Life is not fair, get used to it.

kevin_wang
In need of some credit
In need of some credit
Posts: 7
Joined: Thu Dec 31, 2009 8:16 am

Post by kevin_wang » Wed May 19, 2010 11:25 am

把sdk/wxscintilla从 include的路径里面去掉

Post Reply