[geos-devel] Building GEOS 3.0.0 on windows

Mir Hassan Ali mirhassanali at gmail.com
Fri Nov 10 06:37:27 EST 2006


I am using the nmake command and the Makefile.vc under the source folder. I
think that makes use of the geos_c.h.vc file. Here is a small extract from
my cmd window.

nmake -f makefile.vc

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        copy ..\capi\geos_c.h.vc ..\capi\geos_c.h
        1 file(s) copied.
        cl -Iheaders /MD /GR /O2 /D "NDEBUG" /nologo  /D "NOMINMAX" /D
"WIN32_LE
AN_AND_MEAN" /D "NOGDI"  /GX /c ..\capi\geos_c.cpp /Fo..\capi\geos_c.obj
geos_c.cpp
c:\GEOS\trunk\capi\geos_c.h(49) : warning C4005: 'GEOS_VERSION_PATCH' :
macro redefi
nition
        headers\geos\version.h(6) : see previous definition of
'GEOS_VERSION_PAT
CH'
c:\GEOS\trunk\capi\geos_c.h(50) : warning C4005: 'GEOS_VERSION' : macro
redefinition

        headers\geos\version.h(7) : see previous definition of
'GEOS_VERSION'
..\capi\geos_c.cpp(123) : error C2733: second C linkage of overloaded
function '
GEOSDisjoint' not allowed
        ..\capi\geos_c.cpp(122) : see declaration of 'GEOSDisjoint'
..\capi\geos_c.cpp(144) : error C2733: second C linkage of overloaded
function '
GEOSTouches' not allowed

Thanks

Mir

On 11/10/06, strk at refractions.net <strk at refractions.net> wrote:
>
> On Fri, Nov 10, 2006 at 11:18:53AM +0000, Mir Hassan Ali wrote:
> > Hi
> >
> > I have a small GIS application in C# that uses GDAL library. But now I
> need
> > some functionality provided by GEOS, so I need to build GEOS and then
> > rebuild GDAL with GEOS support. Is there any older version of GEOS that
> i
> > can use or perhaps any other way you can think of.
>
> The easiest way is just fix the geos_c.h.vc, probably.
> is that what you use for building ?
>
> --strk
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20061110/2d0e253e/attachment.html


More information about the geos-devel mailing list