Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: p2rkw on July 22, 2013, 07:47:59 pm
-
I build codeblocks from sources but, run.sh prints following error message:
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
How to fix it without building wxwidgets from source?
os: linux mint debian edition
-
What wx28 have you used for the build?
-
"wx-config --version-full" gives: 2.8.12.1
-
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.
-
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?
-
I removed all packages installed from Jens' repo, fetch codeblocks sources again to clean folder, call bootstrap, configure and make again and it works.