Download, make it executable, and run. Should work on most 2014-ish and later Linux distributions. Some fine-tuning may be necessary, let me know how it goes.
using any debian or Ubuntu 64-bit Linux build host. The resulting AppImage should run on most 2014-ish and later distribution (because the ingredients for the AppImage come from the trusty ppa).
I’ve just tried installing daily build image. Schematic run fine but pcbnew crashed immediately with this message in the console.
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 wxPython used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
Aborted
I think it’s conflicting with my local installation?
My system is Linux Mint 18 (based on ubuntu 14.04).
Thanks for reporting @hyOzd. This is clearly a bug. wxPython is bundled inside the AppImage and that version should be used over any version that may or may not be installed on the distribution.
Please retry with today’s version. And let’s collect results from more users.
A self-standing wxWidgets installation is included in the AppImage and the AppImage is running for me on openSUSE and on Ubuntu (systems on I didn’t install wxWidgets). I really wonder what causes this mixup on your machine, and why it seems to prefer to load some parts of wxWidgets from outside the AppImage on your system. Sorry that I don’t have a solution available right now.
Do others experience this too? Is there a way to replicate?
Just tried both versions on Xubuntu 16.10 and pcbnew generates an error. EEschema seems to be ok
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 wxPython used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
Aborted (core dumped)
The promise of this appimage is that you don’t need to remove wxwidgets from your system. It should have its own version. It should not use the systems stuff.
Don’t remove your version. Other applications might be depending on it.
(this wx stuff is the reason why some distros don’t get kicad anymore. Kicad uses an outdated version that is not compatible with the newer versions. Same goes for the python boost libraries.)
The problem is the wxpython. I’ve tried removing wx-python from my system and it worked. Removing wxpython with below command breaks the system but doesn’t remove any other packages so it’s easy to fix (just install it back with apt).
sudo dpkg -r --force-all python-wxgtk3.0
@probono I think you should configure bundled python to load python modules only from the appimage never from the system.
Now that is strange. This means that for some reason which I don’t understand yet, the system wxpython seems to win over the bundled wxpython. Does anyone know how I can turn that around, so that the bundled one always wins over the system one?
Very interesting indeed @hyOzd. Unfortunately I don’t know how KiCad or wxPython work internally. Perhaps a KiCad developer sees this here and can comment?