[geos-devel] Problems compiling nightly snapshot

Mateusz Loskot mateusz at loskot.net
Wed Mar 3 08:23:58 EST 2010


Paul Meems wrote:
> Mateusz,
> 
> Our problem is that when we want to use the GEOS library in our own code 
> we need to include geos_c.h
> That is logic. We do that as well with other libraries we use, like 
> gdal, proj, etc.
> For that reason in the build script we copy the needed header files to a 
> include folder higher in the tree after compiling. So our application 
> knows it should look in that folder and everything works.
> 
> This approach works well. When we update the source code of such a 
> library and we compile it again the header files are neatly copied.
> But this doesn't work with geos_c.h because it refers to two files in 
> sub folders. We can do two things: either create the sub folder and copy 
> the two files in to it or copy geos_c.h and open it and change 
> geos/version.h to geos_version.h and geos/export,h to geos_export,h..
> Currently we do the latter workaround.

Paul,

I understand what's the problem now.

> As I understand now the situation for GEOS cannot be changed. So we need 
> to re-thing our workaround.

I don't know it and I'm not saying it.
I'm not the author of export.h engine. I also don't use C API myself.
So, I'm not really the right person to decide if/how to fix this problem.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list