Cannot launch KiCad on linux due to wx issues

Hello everyone,

I’ve installed KiCad on my Manjaro machine

Linux 5.10.42-1-MANJARO #1 SMP PREEMPT Thu Jun 3 14:37:11 UTC 2021 x86_64 GNU/Linux

On the first launch of KiCad it opened normally, then a popup show up with an warning message about mismatch between the program and the wx library build versions. Once popup closed, KiCad was doing fine for 5min then it crash. Now I cannot start it anymore.

I’ve tried to get community/python-wxpython downgraded as workaround on AUR package comment.

 Downgrade package: python-wxpython
1: python-wxpython-4.1.1-1  (from ALA)
2: python-wxpython-4.0.7.2-5  [installed]
3: python-wxpython-4.0.7.2-4  (from ALA)

Now I can import the downgraded wx in the Python runtime without issue

I’ve tried: KiCad standard arch package, the (kicad-git)[https://aur.archlinux.org/packages/kicad-git/] package and the nightly one. Every package build fine but when I launch KiCad in the command line, I always got this message:

16:42:41: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1016,wx containers,compatible with 2.8).
*** Caught unhandled unknown exception; terminating

I have no more idea what to do
Thank you

You can try to build KiCad yourself, see https://gitlab.com/eelik-kicad/kicad/-/wikis/How-to-build-KiCad-on-Manjaro-(the-easy-way). If you can do it but KiCad still doesn’t work, the mismatch is between some libraries, not KiCad. I don’t have Manjaro installation at hand so I can’t say more.

I don’t have Manjaro but I’ve seen similar warnings on my distro and they are red herrings. It just happens to be the last message before the crash so investigate that by itself.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.