[geos-devel] GEOS and VC++ 2005

Frank Warmerdam warmerdam at pobox.com
Sun Jan 8 21:06:16 EST 2006


On 1/8/06, Charlie Savage <cfis at interserv.com> wrote:
>  Understood about the C++ ABI and it not being stable.  Two things to
> consider though.
>
>  First, without the dllexport/dllimport you can't build the C API using VC++
> unless you combine libgeos and libgeos_c into one big dll - but that is not
> what is currently done with GCC (it can't be built as is with VC++ because
> libgeos doesn't export any symbols so there is nothing for libgeos_c to link
> against).

Charlie,

For what it's worth, I've always built the C and C++ api as one
DLL on windows, but you are right.  If we want to parallel unix
we would need to expose the C++ API, at least for SWIG
and the C DLL.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the geos-devel mailing list