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.
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
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
..\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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel
_______________________________________________ geos-devel mailing list geos-devel@geos.refractions.net http://geos.refractions.net/mailman/listinfo/geos-devel