Building VMBox image (Linux)
- Install Lubuntu minimal
- http://fintastical.blogspot.fr/2010/11/virtualbox-piix4smbus-error.html
- 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 - http://www.kicad-pcb.org/display/DEaV/Building+KiCad+on+Linux
(allocate 2G of ram before the build) - edit /etc/profile.d/kicad.sh, add the following lines:
export KIGITHUB=https://github.com/KiCad
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: https://launchpad.net/kicad-winbuilder/+download
- 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, dot.net version from http://sourceforge.net/projects/saxon/files/Saxon-HE/9.5/
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"
Vous devez vous connecter pour laisser un commentaire.