[SOLVED] Graphics problems, Fedora Core 26, Eeschema, github master

Hi, I’ve been using KiCad 4 for a while now and it works really great. I wanted to try the Github master version, so I’ve compiled that one. I noticed that eeschema is pretty slow, and when drawing a trace it’s not visible until you complete it. Also the cursor is not being refreshed properly.
I’ve searched the internet and found simular problems with the solution to set ShadowPrimary and EXAPixmaps off in the xorg.conf, but that did not do anything.

Works fine on:
Version: 4.0.6, release build
wxWidgets 3.0.2 Unicode and Boost 1.63.0
Platform: Linux 4.11.11-300.fc26.x86_64 x86_64, 64 bit

Doesn’t work on:
Version: (2017-08-03 revision 3570154ef)-master, release build
wxWidgets 3.0.3 Unicode and Boost 1.63.0
Platform: Linux 4.11.11-300.fc26.x86_64 x86_64, 64 bit (same Computer/FC26 installation)

Compiled the master version like this:
mkdir -p ~/git/kicad/kicad-build
cd kicad-build
cmake -DCMAKE_BUILD_TYPE=Release
-DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_WXPYTHON=ON
…/kicad-source/ && echo ok

make -j 3 && echo ok
sudo make install && echo ok

Is there a way to maybe fix this problem?

Best regards Maarten

Got it working now, it turns out you need to use the compat-wxGTK3-gtk2. This is how it worked for me:

Fresh installation of Fedora Core 26

sudo dnf update
sudo dnf builddep kicad
sudo dnf install gcc-c++ glm-devel swig python-devel

mkdir -p ~/git/kicad
cd ~/git/kicad
git clone --branch master https://github.com/KiCad/kicad-source-mirror.git kicad-source
git clone --branch master https://github.com/KiCad/kicad-library.git library-source

mkdir -p ~/git/kicad/kicad-build
cd kicad-build

cmake -DCMAKE_BUILD_TYPE=Release
-DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_WXPYTHON=OFF
-DBUILD_GITHUB_PLUGIN=ON
-DwxWidgets_USE_DEBUG=OFF
-DwxWidgets_CONFIG_EXECUTABLE=/usr/libexec/compat-wxGTK3-gtk2/wx-config
…/kicad-source/ && echo ok

used 3 of the 4 cores with -j 3, when using all of the cores I ran out of memory

make -j 3 && echo ok
sudo make install && echo ok

mkdir -p ~/git/kicad/library-build
cd library-build
cmake -DCMAKE_BUILD_TYPE=Release …/library-source/ && echo ok
make -j 3 && echo ok
sudo make install && echo ok

Add “/usr/local/lib64/” to file /etc/ld.so.conf
sudo ldconfig

sudo chmod o+w -R /usr/share/kicad/

Download the github footprints via the Add Footprint Libraries Wizard

1 Like