[geos-devel] Re: geos-devel Digest, Vol 77, Issue 17

Ragi Y. Burhum ragi at burhum.com
Thu Apr 2 19:44:48 EDT 2009


On Fri, Mar 20, 2009 at 9:00 AM, <geos-devel-request at lists.osgeo.org> wrote:

> Date: Fri, 20 Mar 2009 09:59:23 +0100
> From: J?rgen E. Fischer <jef at norbit.de>
> Subject: Re: [geos-devel] Using the GEOS C++ interface on Windows
>        (Visual Studio)
> To: geos-devel at lists.osgeo.org
> Message-ID: <20090320085923.GA15394 at norbit.de>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi Ragi,
>
> On Thu, 19. Mar 2009 at 13:23:23 -0700, Ragi Y. Burhum wrote:
> > For about six months now, we (the company I am working for) have been
> > using the GEOS C++ API on Linux and Mac platforms without a problem
> > for an application we are writing. Last week, we started porting that
> > application to Windows (Visual Studio IDE) and when it came down to
> > linking I realized that only the GEOS C API had the GEOS_DLL contructs
> > to export the symbols.
>
> I've run into this in the past too.  I seems that's intentional as C++
> ABI are everything but stable on Windows - you need to compile the C++
> DLL with the same compiler that you plan to use it with to be able to
> use it reliably.  But that kind of ruins the point of DLLs.  C-APIs
> don't have that problem.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
> Software Engineer         D-26506 Norden
> http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
>
>
For those of you that were interested in the GEOS VS studio C++ project with
the dll export symbols on all the classes. I put it up at this link
http://www.mv360.com.mx/~rburhum/geos/ hopefully someone will merge it with
trunk so that I don't have to redo the changes for every release :)

If there are any comments, questions, about the code changes feel free to
contact me.

Jürgen, I would be interested on finding out what kind of problems you have
run into when using GEOS C++ on Windows. So far, I have had good success and
haven't really faced any issues...

Thanks,

- Ragi Burhum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20090402/15bc3e3a/attachment.html


More information about the geos-devel mailing list