Opened 8 years ago

Last modified 8 years ago

#777 closed defect

SVN version won't build on Windows — at Version 5

Reported by: jluis Owned by: geos-devel@…
Priority: major Milestone: 3.5.1
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description (last modified by mloskot)

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'

Change History (5)

comment:1 by strk, 8 years ago

Probably a missing file in the vc build scripts, but nobody likes windows so nobody cares to maintain those scripts. If you send a patch, it could be applied.

comment:2 by alant, 8 years ago

This error applies to both cmake and nmake builds with visual studio 2015.

comment:3 by strk, 8 years ago

That's a feature ! People should be discouraged from running proprietary systems :)

in reply to:  3 comment:4 by jluis, 8 years ago

Replying to strk:

That's a feature ! People should be discouraged from running proprietary systems :)

Please, I also do many open source contributions and had enough of that talk. :)

comment:5 by mloskot, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.