Search code examples
c++versionmismatch

Mismatch between progam (C++ ABI 1002) and lib (C++ ABI 1009) build version:


Fatal Error: Mismatch between the program and library build versions detected.

The library used 3.0 (wchart_t, compiler with C++ ABI 1002, wx containers, compatible with 2.8)

and your program used 3.0 (wchart_t, compiler with C++ ABI 1009, wx containers, compatible with 2.8)

My Ubuntu is 14.04 with GCC version 6.2.0. How to solve this version mismatch issue?


Solution

  • Your program is probably being built with different compiler version than the library was built. As a general rule, recompiling the library with the same compiler version should help.

    Also some other tricks might work, as using -fabi-compat-version switch, or some hints might be found here: https://github.com/eranif/codelite/issues/825 and https://groups.google.com/forum/#!topic/wx-users/bzXESX__828.