gEDA-user: gsch2pcb : coming up empty

John Griessen john_g at cibolo.com
Tue Jan 2 20:01:18 EST 2007



Andy Peters wrote:
> Happy New Year, gang ...

  I tried to run gsch2pcb to get the PCB files, using:
> 
> $  andy$ gsch2pcb -v --use-files --elements-dir 
> /Users/andy/Library/gEDA/pcb power.sch > gs.txt
> 
> and I get an odd failure.  The three components on the schematic that 
> use footprints in my library (~/Library/gEDA/pcb/asp/) are not handled 
> by the netlister.  
.
.
.
   If I change
> the footprint to something in John's library (anything, it doesn't 
> matter), the component is processed properly and the footprint is found.
> 
> So, what causes gsch2pcb to crap out like this?
Have you got a file in the local dir called gafrc
with contents like:
lib-newlib = /home/john/EEProjects/now/circuitboards/footprints_pcb?

If not, and you're using the latest code, you need it.

John G

PS  your /home/john/.gEDA  dir should have:

gafrc
==================
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo")
(component-library 
"${HOME}/EEProjects/now/circuitboards/gschem-cibolo/two-terminal")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/thru-hole")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/transistors")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/pwrgnd")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/boards")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/borders")
(component-library "${HOME}/EEProjects/now/circuitboards/gschem-cibolo/conn-smt")
(component-library 
"${HOME}/EEProjects/now/circuitboards/gschem-cibolo/ic-gull-wing")
; page-size width height
;
; Specifies the size of the default paper size
; Be sure all inputs are reals (floats/doubles) and don't try to reverse
; the values: to get a portrait mode.  Code to support that needs to be added
; The code that implements this automatically transforms the dimensions into
; the proper aspect ratio.  All units are in inches. (use output-orientation
; to get portrait mode)
;
;(paper-size 11.0 8.5) ; letter
;(paper-size 11.0 8.5) ; A
(paper-size 17.0 11.0) ; B
;(paper-size 22.0 17.0) ; C
;(paper-size 34.0 22.0) ; D


More information about the geda-user mailing list