[postgis-devel] Problem buiding on Windows

Paul Ramsey pramsey at opengeo.org
Tue Mar 13 13:53:30 PDT 2012


Seems like. It looks very much like liblwgeom.h has not been
regenerated from liblwgeom.h.in in some time.

P.

On Tue, Mar 13, 2012 at 1:49 PM, Pierre Racine
<Pierre.Racine at sbf.ulaval.ca> wrote:
> Am I the only one having this problem building on Windows 7 with the old MinGW 3.4.5?
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwra
> pv  -I/c/projects/geos/rel-3.3.2/include -I/c/projects/pg/pg90/include  -I/c/projects/libxml/libxml2-2.7.8release/include/libxml2 -I../liblw
> geom -I../libpgcommon -I. -I. -Ic:/projects/pg/pg90/include/POSTGR~1/server -Ic:/projects/pg/pg90/include/POSTGR~1/internal -I./src/include/
> port/win32 -DEXEC_BACKEND  "-Ic:/projects/pg/pg90/lib/POSTGR~1/pgxs/src/MAKEFI~1/../../src/include/port/win32" -Ic:/projects/pg/pg90/include
> /POSTGR~1/server/port/win32  -c -o lwgeom_box3d.o lwgeom_box3d.c
> lwgeom_box3d.c: In function `BOX3D_in':
> lwgeom_box3d.c:104: error: structure has no member named `srid'
> lwgeom_box3d.c: In function `BOX3D_to_LWGEOM':
> lwgeom_box3d.c:246: error: structure has no member named `srid'
> lwgeom_box3d.c: In function `LWGEOM_to_BOX3D':
> lwgeom_box3d.c:296: error: structure has no member named `srid'
> lwgeom_box3d.c: In function `BOX3D_combine':
> lwgeom_box3d.c:396: error: structure has no member named `srid'
> lwgeom_box3d.c:407: error: structure has no member named `srid'
> lwgeom_box3d.c: In function `BOX3D_construct':
> lwgeom_box3d.c:445: error: structure has no member named `srid'
> make[1]: *** [lwgeom_box3d.o] Error 1
> make[1]: Leaving directory `/c/projects/postgis/postgis'
> make: *** [all] Error 1
>
> Thanks,
>
> Pierre
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list