[Mapserver-users] Compiling GDAL by MinGW
Norman Vine
nhv at cape.com
Sat Aug 2 21:03:54 PDT 2003
Hisaji Ono writes:
>
> Does anyone succeed to compile GDAL or OGR by MinGW?
GDAL should compile fine with MingW it has for me in
the past
Follow the instructions for Cygwin < Unix > and use all the internal
libraries < Tiff, Png, jpeg zlib etc. >
You might have to tweak the toplevel GNUMakefile a bit
depending on what type and where you installed MingW
Below find my changes to tonight's CVS for Cygwin compilation
Note you will want to copy the file made by this into your
MingW lib directory and you will also want to move the installed
dll from the lib directory onto your path
HTH
Norman
$ cvs diff GNUmakefile
Index: GNUmakefile
===================================================================
RCS file: /cvsroot/osrs/gdal/GNUmakefile,v
retrieving revision 1.52
diff -r1.52 GNUmakefile
31c31,32
< -o $(GDAL_SLIB)
---
> -Wl,--out-implib=libgdal.$(GDAL_VER).dll.a \
> -o $(GDAL_SLIB)
119c120
< install: lib install-actions
---
> install: check-lib install-actions
More information about the MapServer-users
mailing list