Skip to content

Error when running on windows #3

@Breezensr

Description

@Breezensr

In Windows environment, I successfully compiled liGDSII according to the installation instructions with MSYS2. But when I ran the examples at command-line, I ran into the following problems. I'd like to know how to solve this problem.

C:\Pro\libGDSII\share\libGDSII\examples\GSiP>GDSIIConvert --GMSH GSiP_4_RingFilter.gds
error: unexpected end of file (aborting)

C:\Pro\libGDSII\share\libGDSII\examples\GSiP>GDSIIConvert --raw GSiP_4_RingFilter.gds
Record 0:       HEADER ( 1)  = 600
Record 1:       BGNLIB ( 12)  = 2017 3 16 23 29 47 2017 3 16 23 29 47
Record 2:      LIBNAME ( 1)  = SiEPIC-GSiP
Record 3:        UNITS ( 2)  = 0.001 1e-009
Record 4:       BGNSTR ( 12)  = 2017 3 16 23 29 47 2017 3 16 23 29 47
Record 5:      STRNAME ( 1)  = $$$CONTEXT_INFO$$$
Record 6:         SREF =
Record 7:        SNAME ( 1)  = CIRCLE
Record 8:           XY ( 2)  = 0 0
Record 9:     PROPATTR ( 1)  = 7
Record 10:    PROPVALUE ( 1)  = PCELL=CIRCLE
Record 11:     PROPATTR ( 1)  = 6
error: unexpected end of file (aborting)
error: unexpected end of file (aborting)

C:\Pro\libGDSII\share\libGDSII\examples\GSiP>GDSIIConvert -h
error: no argument given for option -h (aborting)
Usage: GDSIIConvert File.GDS [options]
Options:

 ** Output formats: **
   --raw              raw dump of file data records
   --analyze          detailed listing of hierarchical structure
   --GMSH             Export GMSH geometry to FileBase.geo (text strings to FileBase.pp)
   --scuff-rf         Write .port file defining RF ports for scuff-RF (implies --gmsh)

 ** Other flags: **
   --MetalLayer     12  define layer 12 as a metal layer (may be specified multiple times)
   --LengthUnit     xx  set output length unit in meters (default = 1e-6)
   --FileBase       xx  set base name for output files
   --verbose            produce more output
   --SeparateLayers     write separate output files for objects on each layer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions