程式執行時錯誤

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
yamaki2
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Feb 17, 2012 12:58 am

程式執行時錯誤

Post by yamaki2 »

在我配置完畢並用codeblocks編譯執行一個默認的wxwidgets project時,始終返還-1值,當我在終端下執行編譯完的程序時,顯示錯誤如下:
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
請問這是何種原因?謝謝。。
yamaki2
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Feb 17, 2012 12:58 am

Re: 程式執行時錯誤

Post by yamaki2 »

啊對了,我的操作系統是Fedora16.配置時用的是./configure --prefix=/home/ikari/wxLib --enable-unicode --disable-shared --enable-debug
然后一共編譯了4個庫..分別是靜態調試,動態調試,靜態發行,動態發行...
編譯后,運行程序都是如此錯誤....
Post Reply