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 ??() (??:??
幸运的是,我只好重新安装wxWidgets,一切正常。我非常确定问题是wxWidgets相关的,因为我通过Dropbox与上网本分享我的代码,并且这个代码在Release配置中编译时没有任何问题。感谢提示;) – shadow