kicad: icons replaced with question marks
Description
When installing the nightly version of kicad,
Steps to reproduce
compile kicad with the following options;
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKICAD_USE_OCE=ON \
-DOCE_DIR=`dirname $(pacman -Ql oce | grep OCEConfig.cmake | awk '{ print $2 }' )` \
-DBUILD_GITHUB_PLUGIN=ON \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
-DKICAD_SCRIPTING=ON \
-DKICAD_SCRIPTING_MODULES=ON \
-DKICAD_SCRIPTING_WXPYTHON=OFF \
-DKICAD_SCRIPTING_ACTION_MENU=ON
Install the latest version of kicad, with the attached cmake, on the current nightly of archlinux.
Open kicad.
Using version;
You do not get a prompt, but you only see question marks where the icons should be.
Using version;
You get a prompt indicating;
can't open file 'share/kicad/resources/images.tar.gz' (error 2: No such file or directory)
And still only see question marks.
You can see the current behavior here;
NOTE: I do have those icons located in '/usr/share/kicad/resources/images.tar.gz - but not in share..
Steps to reproduce
- Open Kicad
- See question marks instead of icons.
KiCad Version
This issue was reproduced on two versions of kicad;
Application: KiCad
Version: (5.99.0-10302-g4920692bcd), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Linux 5.9.14-arch1-1 x86_64, 64 bit, Little endian, wxGTK, , tty
Build Info:
Date: Apr 15 2021 16:10:18
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.75.0
OCE: 6.9.1
Curl: 7.74.0
ngspice: 33
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON