启动时释放配置-1

时间:2012-11-05 18:19:20

标签: wxwidgets codeblocks

我尝试使用Release配置编译我使用Code :: Blocks编写的一个小程序,但是我收到了这个错误。既然我不是真正的专家,有人能解释我发生了什么吗? Debug配置工作正常。我无法得到如何解决日志状态不匹配的问题。 很抱歉,如果您需要一些代码片段以帮助我,我可以在需要时提供它们。谢谢!

#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(argc=@0xbffff670: 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(argc=@0xb7b8f6d0: 1, argv=0x8093d88) (../src/common/init.cpp:417)
#11 0xb7aa2846  wxEntry(argc=@0xbffff6d0: 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 ??() (??:??

1 个答案:

答案 0 :(得分:2)

您的发布库和包含文件看起来来自不同版本的wxWidgets。

尝试构建其中一个示例程序。如果这样可行,那么您的项目配置就会出现问题 - 您需要来自codeblocks专家的帮助来解决这个问题。如果它不起作用,那么您的wxWidgets安装就会出现问题 - 尝试获取并构建新安装。