The problem is the wx3.1 lib distributed to our customers compiled by GCC 6.0, but the same customers have GCC 7 / 8 now.. then the recompiling of the small C++ file fail in linking stage, due a ABI mismatch
Code: Select all
The library used 3.1.1 with C++ ABI 1002
and your program used 3.1.1 with C++ ABI 1011 / 1012..
1 - Recompiling wx3.1 lib by GCC 8, then re-distribute to all customers.
2 - Compiling the small C++ file with old ABI.. D_GLIBCXX_USE_CXX11_ABI=0
If we use solution 1, whats will happen to customers that have GCC 5, 6, 7, when they use lib compiled by gcc 8 ?
Thank you,