[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: gsch2pcb cannot find components



I accidently deleted the answer to this e-mail so I will resend the
original file.
I recheck the directory file name etc. and is OK. The strange thing that
I don't understand is that if load the schematic finds all the parts I
assume that the components that can't find are the .sym since it is the
netlist that can't find them.  

Hello,
I am reusing a schematic which I have already made a PC board with it
while back now I want to make some modification without disturbing the
previous one, so I made a new directory made the necessary modifications
and try to generate the PCB file in the usual way. The gsch2pcb does not
find the components the project file is the same I used before, here is
the output

[Vinny@HP1 T14511_1]$ gsch2pcb project
usage: gsch2pcb [options] {project | foo.sch [foo1.sch ...]}

Generate a PCB layout file from a set of gschem schematics.
   gnetlist -g PCB is run to generate foo.net from the schematics.

   gnetlist -g gsch2pcb is run to get PCB m4 derived elements which
   match schematic footprints.  For schematic footprints which don't
match
   any PCB m4 layout elements, search a set of file element directories
in
   an attempt to find matching PCB file elements.
   Output to foo.pcb if it doesn't exist.  If there is a current
foo.pcb,
   output only new elements to foo.new.pcb.
   If any elements with a non-empty element name in the current foo.pcb
   have no matching schematic component, then remove those elements from
   foo.pcb and rename foo.pcb to a foo.pcb.bak sequence.

   gnetlist -g pcbpins is run to get a PCB actions file which will
rename all
   of the pins in a .pcb file to match pin names from the schematic.

   "project" is a file (not ending in .sch) containing a list of
   schematics to process and some options.  A schematics line is like:
       schematics foo1.sch foo2.sch ...
   Options in a project file are like command line args without the "-":
       output-name myproject

options (may be included in a project file):
   -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
   -o, --output-name N   Use output file names N.net, N.pcb, and
N.new.pcb
                         instead of foo.net, ... where foo is the
basename
                         of the first command line .sch file.
   -f, --use-files       Force using file elements over m4 PCB elements
                         for new footprints even though m4 elements are
                         searched for first and may have been found.
   -r, --remove-unfound  Don't include references to unfound elements in
                         the generated .pcb files.  Use if you want PCB
to
                         be able to load the (incomplete) .pcb file.
                         This is the default behavior.
   -k, --keep-unfound    Keep include references to unfound elements in
                         the generated .pcb files.  Use if you want to
hand
                         edit or otherwise preprocess the generated .pcb
file
                         before running pcb.
   -p, --preserve        Preserve elements in PCB files which are not
found
                         in the schematics.  Note that elements with an
empty
                         element name (schematic refdes) are never
deleted,
                         so you really shouldn't need this option.
   -q, --quiet           Don't tell the user what to do next after
running gsch2pcb.

   -s, --skip-m4         Skip m4 when looking for footprints.  The
default is to use
                         m4 (which is what previous versions did).
       --m4-file F.inc   Use m4 file F.inc in addition to the default m4
                         files ./pcb.inc and ~/.pcb/pcb.inc.
       --m4-pcbdir D     Use D as the PCB m4 files install directory
                         instead of the default:

                         /usr/share/pcb/pcb/m4
   --gnetlist backend    A convenience run of extra gnetlist -g
commands.
                         Example:  gnetlist partslist3
                         Creates:  myproject.partslist3
   --gnetlist-arg arg    Allows additional arguments to be passed to
gnetlist.
 --empty-footprint name  See the project.sample file.

options (not recognized in a project file):
       --fix-elements    If a schematic component footprint is not equal
                         to its PCB element Description, update the
                         Description instead of replacing the element.
                         Do this the first time gsch2pcb is used with
                         PCB files originally created with gschem2pcb.
   -v, --verbose         Use -v -v for additional file element
debugging.
   -V, --version

environment variables:
   GNETLIST              If set, this specifies the name of the gnetlist
program
                         to execute.

Additional Resources:

  gEDA homepage:  http://www.geda.seul.org
  PCB homepage:   http://pcb.sf.net
  gEDA Wiki:      http://geda.seul.org/dokuwiki/doku.php?id=geda


[Vinny@HP1 T14511_1]$ 

Then I found that if load the schematic from the menu
"Applications/electronics/ ..." all components are properly loaded, but
if I login the working directory and run "gschem T14511.sch" it loads
the schematic without components I also ran "gnetlist T14511.sch" this
is the result:
[Vinny@HP1 T14511_1]$ gnetlist T14511.sch
Loading schematic [/home/Vinny/gaf/T14511_1/T14511.sch]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [LP24-500.sym]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [Buz-1.sym]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
Could not open [Mouser]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [respacvert9-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap_pol-2.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap_pol-2.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap_pol-2.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [switch-sp3t-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [resistor-3.sym]
Could not open [Mouser]
Could not open [Mouser]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [ULN2004-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [rpack7-2.sym]
Could not open [Mouser]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [DIGY_SW4-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [LED4-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [MC14511-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [MAX232-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [89C51R2X.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [Pin_hole-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [Pin_hole-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [Pin_hole-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [Pin_hole-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [OAC-5-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [cap-1.sym]
WARNING: Found a placeholder/missing component, are you missing a symbol
file? [7805-1.sym]
You gave neither backend to execute nor interactive mode!
[Vinny@HP1 T14511_1]$ 

Can any body help? Thank you in advance.  Vinny 



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user