Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxwidgets: Mismatch between the program and library build versions detected. #825

Closed
underdoeg opened this issue Jun 15, 2015 · 4 comments
Closed

Comments

@underdoeg
Copy link

This is not a bug within codelite per se. On Arch Linux, after building with aur, I get the error

Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1008,wx containers,compatible with 2.8).
Aborted (core dumped)

I understand that this is because the installed version of wxwidgets was compiled with a different compiler than the one currently installed. Other programs however only treat this message as a warning and not a Fatal Error. Is there a compile flag that can be set which enables the same behavior for codelite?

Over here somebody suggested to use ./configure with --disable-assert when running into the same issue https://aur.archlinux.org/packages/tintii/

@eranif
Copy link
Owner

eranif commented Jun 15, 2015

The problem is not coming from within CodeLite but from wxWidgets, you will need to build wxWidgets without the assertions

@eranif eranif closed this as completed Jun 15, 2015
@sciencesdy
Copy link

I have solved this problem by adding in my source code of the following line:
#define __GXX_ABI_VERSION 1002

@kelly-cs
Copy link

kelly-cs commented May 7, 2018

This worked for me too, exept replacing 1002 with whatever the latest version is that was throwing the mismatch error. It was 1011 in my case, clashing with ABI 1009.

@drdrbergman
Copy link

@sciencesdy would this line work using visual studio? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants