Icons missing after compiling under Windows 10

I’ve just compiled KiCad from source for the first time. I followed the instructions at https://dev-docs.kicad.org/en/build/windows-msvc/ I’ve read the instructions thoroughly and I believe that I’ve done everything according to the instructions.

The project compiles just fine, but when KiCad is started I first get two alerts about decimal separator mismatch. Not sure if this has anything to do with the missing icons though.
decimal-separator

When KiCad finally starts, I get an error saying that images.tar.gz cannot be opened, and no icons are shown. Same thing if I open Eeschema.
Missing-icons-kicad

Does anyone have an idea on what I’m doing wrong?

I forgot to mention that I’m trying to build the V5.99 master branch. Not sure what else information is needed.

I’m building the x64-Debug configuration with debug target kicad.exe (kicad\kicad.exe). I first tried eeschema.exe (eeschema\eeschema.exe) with the same result.

My launch.vs.json file looks like this:

{
“version”: “0.2.1”,
“defaults”: {},
“configurations”: [
{
“type”: “default”,
“project”: “CMakeLists.txt”,
“projectTarget”: “kicad.exe (kicad\kicad.exe)”,
“name”: “kicad.exe (kicad\kicad.exe)”,
“env”: {
“KICAD_RUN_FROM_BUILD_DIR”: “1”,
“KICAD_USE_EXTERNAL_PYTHONHOME”: “1”,
“PYTHONHOME”: “C:\vcpkg\installed\x64-windows\tools\python3”,
“PYTHONPATH”: “C:\git\other-repos\kicad\build\x64-Debug\pcbnew;C:\git\other-repos\kicad\scripting”
},
“environment”: [
{
“name”: “Path”,
“value”: “${env.Path};C:\vcpkg\installed\x64-windows\debug\bin”
}
]
}
]
}

Also “5. Running and debugging”? I haven’t yet succeeded with msvc build so I can’t give detailed steps, but there are two possible ways to run self-built kicad: 1. install and then run from where it’s installed; 2. run from the build folder. If you are trying to run from the build folder you have to set an environment variable.

The first could be https://gitlab.com/kicad/code/kicad/-/issues/8552 If so, switch the language to English instead of Default until this is fixed. (edit: switch KiCad language setting, not Windows)

The other problem is simple, you need to build the bitmap_archive target. Because it is not an executable, you need to switch to “targets view” in the VS solution explorer (next to home icon)

The launch.vs.json sets the environment variables, running from VS works for me

3 Likes

The first could be https://gitlab.com/kicad/code/kicad/-/issues/8552 If so, switch the language to English instead of Default until this is fixed.

Thanks! I’ll try this tonight.

The other problem is simple, you need to build the bitmap_archive target. Because it is not an executable, you need to switch to “targets view” in the VS solution explorer (next to home icon)

Awesome! That did the trick! :smiley: Thank you!

The first could be https://gitlab.com/kicad/code/kicad/-/issues/8552 If so, switch the language to English instead of Default until this is fixed.

Switching language from Default to English in KiCad sure got rid of these Alerts. Thank you! My default language in Windows is already set to English, but my Regional format settings are set to Swedish.

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