← Back to team overview

kicad-developers team mailing list archive

eeschema libraries: bugfixes

 

1. I've checked all libraries from kicadlib.org and
all.tar.gz. First run download/untar/unzip script and
copy all libraries to kicad/library folder 2453 files
total.

2. Install PERL from activestate.com and run the
following script in folder /library:
lib.pl > lib.pro and manually copy-pasted all lines to
kicad.pro eeschema section.

3. I've got the following errors:
hacesoft.lib "Wrong DEF format in line 10, skipped"
also line 20
"DEF DIN 5 C ?? 0 40 Y Y 0 L N" - source 
"DEF DIN_5 C 0 40 Y Y 0 L N" - fixed
stuart.lib --//-- line 11, 44
"DEF 4 WAY SKT 0 40 Y Y 1 L N" -the same fix
cmos_ieee.lib $CMP command expected in line 4, aborted
Dont know how to fix.

Also: how to see a logfile from eeschema (it reports
"skipped lines" in status bar, but no popup errors).


lib.pl:
#!/usr/bin/perl -w
@f=glob("*.dcm");
@g=glob("*.lib");

foreach (@f) 
{
s!^(.*)\.((dcm)|(lib))$!$1!i;
if (not m!lbr!i) { $h{$1}=1; }
}
foreach (@g)
{
s!^(.*)\.((dcm)|(lib))$!$1!i;
if (not m!lbr!i) { $h{$1}=1; }
}

$num=0;
foreach (sort keys %h)
{
$num++;
print "LibName$num=$_.lib\n";
}



____________________________________________________________________________________
Looking for last minute shopping deals? 
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping