2012-11-05 37 views
0

我試圖編譯一個我用Code :: Blocks發佈的配置,但我得到這個錯誤。既然我不是專家,有人可以解釋我發生了什麼嗎?調試配置工作正常。我無法得到如何解決日誌狀態不匹配的問題。 對不起,如果您需要一些代碼片段來幫助我,我可以根據需要提供它們。謝謝!發佈配置-1在啓動

#0 ( 0xb7fdd424 in __kernel_vsyscall() (??:??) 
#1 0xb77651df raise() (/lib/i386-linux-gnu/libc.so.6:??) 
#2 0xb7768825 abort() (/lib/i386-linux-gnu/libc.so.6:??) 
#3 0xb7ab03db wxVLogFatalError (szFormat=0x80a615c L"Mismatch between the program and library build versions detected.\nThe library used 2.8 (debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),\nand your program used 2.8(no debug"..., argptr=0xbffff574 "\360M\n\b|K\n\b\\O\n\b\\\301\a\b") (../src/common/log.cpp:144) 
#4 0xb7ab0443 wxLogFatalError (szFormat=0x80a615c L"Mismatch between the program and library build versions detected.\nThe library used 2.8 (debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),\nand your program used 2.8(no debug"...) (../src/common/log.cpp:152) 
#5 ( 0xb7a608f7 in wxAppConsole::CheckBuildOptions(optionsSignature=0x805edd4 "2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6) (../src/common/appbase.cpp:427) 
#6 ( 0x080545a8 in ??() (??:??) 
#7 0xb7aa22a6 wxEntryStart([email protected]: 1, argv=0x8093d88) (../src/common/init.cpp:273) 
#8 0xb7aa25df wxInitialize(argc=1, argv=0x8093d88) (../src/common/init.cpp:479) 
#9 0xb7aa2750 wxInitializer(argv=0x8093d88, argc=<optimized out>, this=<synthetic pointer>) (../include/wx/init.h:81) 
#10 ( wxEntry([email protected]: 1, argv=0x8093d88) (../src/common/init.cpp:417) 
#11 0xb7aa2846 wxEntry([email protected]: 1, argv=0xbffff764) (../src/common/init.cpp:460) 
#12 ( 0x08052f2b in ??() (??:??) 
#13 0xb77504d3 __libc_start_main() (/lib/i386-linux-gnu/libc.so.6:??) 
#14 ( 0x08053555 in ??() (??:?? 

回答

2

看起來像你的發佈庫和你的包含文件來自不同版本的wxWidgets。

嘗試構建一個示例程序。如果可行,那麼你的項目配置有問題 - 你需要codeblocks專家的幫助來弄清楚。如果它不起作用,那麼你的wxWidgets安裝有問題 - 嘗試獲取並構建新的安裝。

+0

幸運的是,我只好重新安裝wxWidgets,一切正常。我非常確定問題是wxWidgets相關的,因爲我通過Dropbox與上網本分享我的代碼,並且這個代碼在Release配置中編譯時沒有任何問題。感謝提示;) – shadow