[geos-devel] Building GEOS 3.0.0 on windows
strk at refractions.net
strk at refractions.net
Fri Nov 10 07:08:13 EST 2006
As I said (or left as intended) I'm not a win32 user.
Anyway, what I've understood is that geos_c.h.vc is just a copy
of geos_c.h.in with the version strings defined correctly.
Try that (copy geos_c.h.in and manually substitute version strings, look
in configure.in for values)
--strk;
On Fri, Nov 10, 2006 at 11:37:27AM +0000, Mir Hassan Ali wrote:
> 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
> >
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
--
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
More information about the geos-devel
mailing list