[gdal-dev] GEOS Ver 3.3.5 and GDAL Ver 1.91

Joaquim Luis jluis at ualg.pt
Wed Sep 5 13:02:58 PDT 2012


On 05-09-2012 20:33, Martin Chapman wrote:
>
> All,
>
> I am trying to compile GDAL 1.91 with GEOS version 3.3.5 on windows 7 
> x64 and the nmake.opt file does not seem to match the directory 
> structure of the latest GEOS.  Am I missing something simple?  Any 
> help is much appreciated.
>
> Muchos gracias,
>
> Martin
>
>

Martin,

I have built GDAL trunk recently with GEOS 3.3.5 with no problems, but I 
use a name coding for the dir where the libs are stored.
For example, for GEOS I have in my nmake.local

GEOS_DIR = C:\programs\compa_libs\geos-3.3.5\compileds
GEOS_CFLAGS = -I$(GEOS_DIR)/$(LIB_CC)/include -DHAVE_GEOS
GEOS_LIB     = $(GEOS_DIR)/$(LIB_CC)/lib/geos_c_i.lib

where $(LIB_CC) translates to
VC10_64 or VC10_32
depending whether I'm building 32 or 64 bits versions
Off course, when I compiled GEOS, I stored the libs in 
$(GEOS_DIR)/$(LIB_CC)/lib and the headers in $(GEOS_DIR)/$(LIB_CC)/include

Joaquim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120905/dd8eab25/attachment-0001.html>


More information about the gdal-dev mailing list