As most of us know, the new kicad distribution doesn't generate ready to use BOM files anymore, the docs only give suggestions on how to set up xml/xsl transformation with xsltproc. ( https://answers.launchpad.net/kicad/+faq/2265 )
The xsltproc is linux-native and I've found it painful to install on windows where I do most of my kicad work.
So I did a little bit of research and came up with an alternative solution, using "saxon" xml engine as xsl processor.
Here are the steps necessary to make it work in recent kicad versions (about bzr5000 and upwards)
- download Saxon "home edition", get the dot.Net version "SaxonHE9-5-1-7N-setup.exe" from http://sourceforge.net/projects/saxon/files/Saxon-HE/9.5/
- install it somewhere, for example in "c:\saxon\" folder
- Open Eeschema, go to "Tools > Generate Bill Of Materials" menu
- Choose "Add Plugin" button and name it whatever you want, I named mine "saxon bom"
you'll be back in the BOM window, there in the command line field put this line:
"c:\saxon\bin\Transform.exe" -t "%I" -xsl:"d:\kicad-winbuilder-3.4\kicad\bin\plugins\bom2csv.xsl" -o:"%O.csv"
replace "d:\kicad-winbuilder-3.4\kicad\bin\plugins\bom2csv.xsl" by the path to bom2csv.xsl proper to your installation.
Now, every time you click "Generate" button, the plugin will create a csv file with a BOM like in the old Kicad versions.