Hi Peter and all,

I'm using pcb 20070912 installed in /usr and gEDA installed in 
$HOME/geda/

When running xgsch2pcb, gsch2pcb does not find all pcb libraries.

gsch2pcb searches in:
----------------
-d, --elements-dir D  
Search D for PCB file elements.  These defaults
are searched if they exist: ./packages,
/usr/local/share/pcb/newlib, /usr/share/pcb/newlib,
(old pcb) /usr/local/lib/pcb_lib, /usr/lib/pcb_lib,
(old pcb) /usr/local/pcb_lib
------------

The libraries of newer pcb versions are located in:
/usr/share/pcb/pcblib-newlib
/usr/share/pcb/m4
/usr/share/pcb/newlib


xgsch2pcb should set the library path to the datadir of pcb.
If pcb is located in /usr/bin/ ($bindir), gsch2pcb should look at 
$bindir/../share/pcb/

Maybe two additional lines in the [project].tmp.gsch2pcb file will work.
elements-dir /usr/share/pcb/newlib
elements-dir /usr/share/pcb/pcblib-newlib

Don't know if both are required.

Regards
Werner


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to