Building VMBox image (Linux)
  • Install Lubuntu minimal
  • apt-get update
  • sudo apt-get install build-essential dkms linux-headers-generic
  • update vm box to latest version
    install vbox guest additions
    add « user » to « vboxsf » group
    (allocate 2G of ram before the build)
  • edit /etc/profile.d/, add the following lines:
    export KIGITHUB=
    export KISYSMOD=/usr/local/share/kicad/modules
    export KISYS3DMOD=/usr/local/share/kicad/modules/packages3d
Steps needed to make Kicad builds work (Windows):
  • download Winbuilder:
  • unpack the 7z archive into the root directory (for ex. resulting in d:\kicad-winbuilder-3.4\
  • run make.bat
  • if the error appears complaining about Open GL sources not found, copy the whole « GL » folder from « C:\kicad-winbuilder-3.4\src\glew-cmake\include » to « C:\kicad-winbuilder-3.4\src\kicad\3d-viewer » and rerun make.bat
  • copy fp-lib-table.for-pretty to C:\%HOMEPATH%\AppData\Roaming\kicad\fp-lib-table
  • clone github modules with github_clone_modules.bat
  • add this line to fp-lib-table:
    (lib (name Custom)(type KiCad)(uri d:\Work\electronics\Kicad\Custom.pretty)(options "")(descr "custom modules"))
  •  copy d:\kicad-winbuilder-3.4\src\kicad\eeschema\plugins\ folder to d:\kicad-winbuilder-3.4\kicad\bin\

BOM generation

  • install saxon xml engine, version from
    Select SaxonHE9-5-1-7N-setup.exe or later (SaxonHE<xxxxxx>N-setup.exe)
  • Install it somewhere (for ex. into c:\saxon\ )
  • call to test:
c:\saxon\Transform.exe -t "d:\Work\electronics\preamp 3eq LA\src\kicad-100K-G-v2\kicad-100K-G-v2.xml" -xsl:d:\kicad-winbuilder-3.4\kicad\bin\plugins\bom2csv.xsl -o:"d:\Work\electronics\preamp 3eq LA\src\kicad-100K-G-v2\kicad-100K-G-v2.csv"

In eeschema > BOM menu , add a plugin « xml-to-bom » (any name will do) with this command line:

"c:\saxon\bin\Transform.exe" -t "%I" -xsl:"d:\kicad-winbuilder-3.4\kicad\bin\plugins\bom2csv.xsl" -o:"%O.csv"

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.