Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Mismatch between the program and library build versions detected

(1/2) > >>

p2rkw:
I build codeblocks from sources but, run.sh prints following error message:

--- Quote ---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 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6).
Aborted

--- End quote ---
How to fix it without building wxwidgets from source?

os: linux mint debian edition

oBFusCATed:
What wx28 have you used for the build?

p2rkw:
"wx-config --version-full" gives: 2.8.12.1

stahta01:
You need to Link with the same exact wxWidgets your used to compile you project with.
(This also mean some defines must match your post says 2.4 compatible mode (WXWIN_COMPATIBILITY_2_4) is on during link; but, not during compile.)

If this was on windows, a wrong setup.h would be a possible cause; I do NOT think this is possible in Linux.

Tim S.

oBFusCATed:
Are you sure you have a single version installed?
Are you sure the wxGTK and wxGTK-devel packages are for the same version and installed from the same source?

Navigation

[0] Message Index

[#] Next page

Go to full version