[geos-devel] [GEOS] #777: SVN version won't build on Windows

GEOS geos-trac at osgeo.org
Tue Jun 7 01:08:40 PDT 2016


#777: SVN version won't build on Windows
------------------------+---------------------------
 Reporter:  jluis       |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  svn-trunk
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------
Description changed by mloskot:

Old description:

> It errors with
>
> [ 81%] Building CXX object capi/CMakeFiles/geos_c.dir/geos_c.cpp.obj
> geos_c.cpp
> V:\geos_SVN\build\capi\geos_c.h(826) : error C2059: syntax error :
> '__declspec(dllexport)'
> V:\geos_SVN\build\capi\geos_c.h(831) : error C2059: syntax error :
> '__declspec(dllexport)'
> V:\geos_SVN\build\capi\geos_c.h(1746) : error C2059: syntax error :
> '__declspec(dllexport)'
> V:\geos_SVN\build\capi\geos_c.h(1764) : error C2059: syntax error :
> '__declspec(dllexport)'
> V:\geos_SVN\capi\geos_c.cpp(1165) : error C3861:
> 'GEOSSTRtree_nearest_generic': identifier not found
> V:\geos_SVN\capi\geos_c.cpp(1174) : error C3861:
> 'GEOSSTRtree_nearest_generic_r': identifier not found
> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe' :
> return code '0x2'

New description:

 It errors with

 {{{
 [ 81%] Building CXX object capi/CMakeFiles/geos_c.dir/geos_c.cpp.obj
 geos_c.cpp
 V:\geos_SVN\build\capi\geos_c.h(826) : error C2059: syntax error :
 '__declspec(dllexport)'
 V:\geos_SVN\build\capi\geos_c.h(831) : error C2059: syntax error :
 '__declspec(dllexport)'
 V:\geos_SVN\build\capi\geos_c.h(1746) : error C2059: syntax error :
 '__declspec(dllexport)'
 V:\geos_SVN\build\capi\geos_c.h(1764) : error C2059: syntax error :
 '__declspec(dllexport)'
 V:\geos_SVN\capi\geos_c.cpp(1165) : error C3861:
 'GEOSSTRtree_nearest_generic': identifier not found
 V:\geos_SVN\capi\geos_c.cpp(1174) : error C3861:
 'GEOSSTRtree_nearest_generic_r': identifier not found
 NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe' : return
 code '0x2'
 }}}

--

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/777#comment:5>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list