This problem kicked my butt for hours so I thought I’d highlight this easy to miss mistake.
Yes, I know there are tons of threads on customizing Library Paths but most focus on Footprint libraries. I read and re-read them all and just got more and more confused when all I wanted to do was customize the Symbol Library path.
When it comes to the Symbol Library one must edit the “kicad.pro
” file located in the
C:\Program Files\KiCad\share\kicad\template
directory in Windows. In my case I wanted it to point to a local copy of the github repository of symbols I downloaded which was located at:
C:\Users\<myuserid>\Documents\git\kicad-library\library
So I just cut-and pasted that path from Windows into the appropriate section of “kicad.pro
” as described in some of the threads. (See below)
[eeschema]
version=1
LibDir=C:\Users\<myuserid>\Documents\git\kicad-library\library
[eeschema/libraries]
LibName1=power
Unfortunately, that doesn’t work due to the subtile issue that is REALLY easy to miss if your not careful.
Kicad is written in Python which expects Unix “/” style directory paths. The correct format should have been:
[eeschema]
version=1
LibDir=C:/Users/<myuserid>/Documents/git/kicad-library/library
[eeschema/libraries]
LibName1=power
This kicked my butt for hours trying to figure what was wrong as I didn’t notice the “/
” versus “\
” in the path. Once I changed all the “” to “/” it started working.
Now every time I create a new project, that path is included in the Project’s “.pro” file and I can use the latest version of the symbols (plus a few others I’ve added.)
Again, I know there are a lot of discussions on Library Paths on the Forum but I wanted to specifically make a post on this issue so others would not have the same problem I had.