[gdal-dev] Compile GDAL with GEOS, strange GEOS_CFLAGS

Mateusz Loskot mateusz at loskot.net
Fri Oct 4 14:15:43 PDT 2013


On 4 October 2013 22:08, Even Rouault <even.rouault at mines-paris.org> wrote:
> Le vendredi 04 octobre 2013 10:21:13, Paul Meems a écrit :
>> As mentioned before I'm trying to upgrade all supporting libraries we are
>> using with MapWinGIS.
>> I'm also documenting all steps so others can do this as well.
>>
>> The build seems to be OK but I'm wondering about this part:
>> GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/source/headers -DHAVE_GEOS
>> I have no $(GEOS_DIR)/source folder. I'm using GEOS v3.4.2.
>>
>> I noticed in the past we used the same flags and the folder didn't exists
>> either, so most likely it is nothing to worry about ;)
>> But I want to make sure. Should I change it, delete it or leave it?
>
> If that compiles, no reason to worry. The suggested flags in the nmake.opt just
> reflect the directory organization of a (now) ancient GEOS version.

Yes, it's worth to note, GEOS changed the source layout a while ago:

http://trac.osgeo.org/geos/ticket/315

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


More information about the gdal-dev mailing list