|
|
发表于 2006-2-2 04:15:33
|
显示全部楼层
Post by baryon
通过了MAKE和MAKE INSTALL,但是运行出错。信息如下:
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.6 (no debug,ANSI,compiler with C++ ABI 102,wx containers,compatible with 2.4),
and your program used 2.6 (no debug,ANSI,compiler with C++ ABI 1002,wx containers,compatible with 2.4).
已放弃
make通过的要点是:
1、把老的wxGTK删除,把wx-config也揪出来删除。用Glue的USE重装wxGTK,记住-unicode。
2、重新解压abride包,重新打补丁,然后OK。
大家加油啊。能否欺骗系统,搞成2.4的库文件?
不需要编译的时候-unicode,原因在于wx-config可以选择是否需要unicode支持。
wx-config --unicode=yes|no --libs
会指向不同的libs
[PHP]
bookstack@puma abridge-0.4.0 $ wx-config --cflags
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
bookstack@puma abridge-0.4.0 $ wx-config --cflags --unicode=no
-I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA
[/PHP]
大家可以编译一下
http://lists.gnu.org/archive/htm ... 03-07/msg00019.html
提到的 代码,如果连这个都无法编译的话,肯定wx-config有问题。
没有打算支持wxWidgets-2.4,我的系统上没有一个程序用wxGTK |
|