gEDA-dev: gsch2pcb is not finding local footprint dirs

Stuart Brorson sdb at cloud9.net
Wed Oct 18 20:11:49 EDT 2006


Unfortunately, gsch2pcb has the footprint search paths hardcoded into
the code along with a project RC file.  Pcb uses its own, different
config files.  Therefore, bad things can happen.

The real solution is to graft come code into gsch2pcb whcih reads the
same config files as pcb.  The temporary solution is to put your
footprints in standard places, and to make sure you put paths to those
places into your project.rc file (i.e. the file gsch2pcb reads to get
project specific info).

Stuart


On Wed, 18 Oct 2006, John Griessen wrote:

> Hi y'all,
>
> I'm confused a little...
>
> gsch2pcb doesn't seem to be able to use the latest changes to pcb, a la .pcb 
> settings file, or a line in /opt/pcb/share/pcb/Pcb.
>
> pcb works fine without messages and finds local footprint newlib.
>
> gsch2pcb is not finding the right install dir of pcb...it gives a message 
> saying:
>
> find_element can't open dir 
> /home/john/EEProjects/circuitboards/footprints_pcb/: No such file or 
> directory
> find_element can't open dir /opt/share/pcb/newlib: No such file or directory
> J5: can't find PCB element for footprint dual_3.6mm_TRS_jack.fp 
> (value=unknown)
>
>
> The first line syas it is still using an old path, but where have I got that 
> defined?
>
> ~/.Xdefaults is empty.
> ~/.pcb settings has
> lib-newlib = /home/john/EEProjects/now/circuitboards/footprints_pcb
>
> /opt/pcb/share/pcb/Pcb
>
> has:
>
>
> Pcb.elementPath: 
> .:/opt/pcb/share/pcb/newlib:packages:circuits:/opt/pcb/share/pcb:/opt/pcb/share/pcb/circuits:/opt/pcb/share/pcb/packages
>
> Pcb.libraryCommand:         /opt/pcb/share/pcb/QueryLibrary.sh '%p' '%f' %a
> Pcb.libraryContentsCommand: /opt/pcb/share/pcb/ListLibraryContents.sh '%p' 
> '%f'
> Pcb.libraryFilename:        pcblib
> Pcb.libraryPath:            .:/opt/pcb/share/pcb
> Pcb.libraryTree:            /opt/pcb/share/pcb/newlib
> Pcb.lineThickness:          1000
> Pcb.media:                  letter
>
>
> Environment variable  GEDADATA=/opt/geda/share/gEDA
> in the dir I run gsch2pcb from....
>
> I'm not sure what to do a find on even...
>
> John G
>
>
> _______________________________________________
> geda-dev mailing list
> geda-dev at moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
>


More information about the geda-dev mailing list