Bug #13929 2008-06-01 13:27

jimp

Error in wxWidgets Project Template

Creating a new project using the wxWidgets template. The Project, Build Options, Linker Settings, Other Linker Options, has the value `wx-config --libs`. This option is for the entire project and applies to both the Debug and Release targets. The wx-config value is okay for the Release target but does not include debug information for the Debug target.

The Debug target will link okay but may not run. If there is another link library which contains debug information, like wx_gtk2ud_stc-2.8, the project will link. But when executed it will give the following error. The difference is the library using "no debug" and the program using "debug":

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.6),

and your program used 2.8 (debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).

Aborted

There should be separate wx-config options for Release and Debug.

The Release option remains the same: `wx-config --libs`

The Debug option should include the debug information: `wx-config --libs --debug`

Category
 
Group
 
Status
Closed
Close date
2009-04-19 15:35
Assigned to
biplab
biplab 2009-04-19 15:35

Please select "Use Advanced options" after Compiler selection page. That will solve your problem.