User forums > Help

wxWidgets: dll / program mismatch

(1/1)

SpringRainSoftware:
I'm getting the following error:

"Mismatch between the program and library build versions detected"

It then lists the options for each.  It shows I am using a debug version of wxWidgets (which is correct), but it says my application is not in debug mode.  I've set this under: Project Build Options -> Produce Debugging Symbols.  The check box _is_ checked.

It is a default wxWidgets template, with a DLL linked in (manually changed the path to the correct library)  I'm guessing I'm missing something simple.  Any suggestions or questions I can answer to help come up with some ideas??

Thanks folks!

rickg22:
The program may have debug symbols enabled, but it was compiled with the "release" version of wxwidgets.

As a general note, you DON'T need a debug version of wxwidgets. We've been debugging with the "release" version and have had no problems with it.

xuegao0807:
hello:
      I'm a newer to use codeblocks ,I want to built a wxWidgets object. compiling it is ok ,but when I run , there are error

--- Code: ---Mismatch between the program and library build versions detected
The library used 2.8(no debug,Unicode,compiler with C++ ABI 1002,wx container,compatible with 2.6),
And your program used 2.8(debug,Unicode,compiler with C++ ABI 1002,wx container, compatible with 2.6)

--- End code ---
can someone help me? thank you very much!

BlueHazzard:
this has nothing to do with c::b...

you simply have to ensure that the wxWidgets version of your compiler and your target machine match...

You compiled your program with a debug version of the library, but try to run the program with a non debug library... Simply copy the dll, from the compiler library path to your program base dir...

Navigation

[0] Message Index

Go to full version