|
From: Tatsuro M. <tma...@ya...> - 2022-05-26 05:04:10
|
I updated msys2-mingw64 recently and GCC is upgraded to version 12. I tried to build gnuplot for windows using GCC 12 and tried to use the wxt terminal. gnuplot> set terminal wxt gnuplot> pl x Error windows poped up. URL of the Screenshot http://tmacchant33.starfree.jp/Files/wxt_ABI_mismatch.png Fatal Error Mismatch between the program and library build version detected. The library used 3.0(wchar_t,complier with C++ ABI 1016, wx containers, compatible with 2.8), and your program used 3.0 (wchr_t,compiler with C++ ABI 1017, wx containers, compatible with 2.8). Workaround is to insert " #define __GXX_ABI_VERSION 1016" at the top of src/wxt_gui.cpp --- a/src/wxterminal/wxt_gui.cpp 2022-05-26 12:37:23.464908700 +0900 +++ b/src/wxterminal/wxt_gui.cpp 2022-05-26 13:10:10.970037600 +0900 @@ -88,6 +88,8 @@ * or multi-threaded operation. */ +/* avoid mismatch message C++ ABI number*/ +#define __GXX_ABI_VERSION 1016 /* define DEBUG here to have debugging messages in stderr */ /* #define DEBUG */ Tatsuro |