I build four widgets library with parameters "SHARED=0,1 BUILD=release, debug(UNICODE=1)".
I created a new widgets program choosing "enable Unicode" and "use wxwidgets dll", the program builds without error, but when I runs, there's a fatal error:
Mismatch between the program and library build versions detected.
The library used 3.0(wchar_t,compiler with c++ ABI 1008,wx containers, compatible with 2.,
and your program used 3.0(wchar_t,compiler with c++ ABI 1010,wx containers, compatible with 2.
i didn't change my compiler, why is there a mismatch?
dismatch problem occur when running the widgets sample program Topic is solved
Re: dismatch problem occur when running the widgets sample program
I'm so sorry that I made a mistake. I thought codeblocks uses the compiler in the PATH, but actually there's a setting in the "compiler setting".
It detected MinGW first then set the default compiler the one in MinGW. later when I compiled the library, I used TDM-GCC, that why there's a mismatch.
I'm sorry for asking such a newbie question.
It detected MinGW first then set the default compiler the one in MinGW. later when I compiled the library, I used TDM-GCC, that why there's a mismatch.
I'm sorry for asking such a newbie question.