[Osgeo4w-trac] Re: [osgeo4w] #175: Package a newer version of GEOS (3.2)

OSGeo4W trac_osgeo4w at osgeo.org
Mon Dec 27 13:24:12 EST 2010


#175: Package a newer version of GEOS (3.2)
--------------------------+-------------------------------------------------
Reporter:  ricardogsilva  |       Owner:  warmerdam
    Type:  defect         |      Status:  assigned 
Priority:  major          |   Component:  Package  
 Version:                 |    Keywords:  pkg-geos 
--------------------------+-------------------------------------------------

Comment(by rouault):

 There's a missing .h that triggers an error while including geos_c.h

 {{{
 C:\utilisateurs\even\osgeo4w/include\geos_c.h(145) : fatal error C1083:
 Impossib
 le d'ouvrir le fichier include : 'geos/export.h' : No such file or
 directory
 }}}

 GDAL would also need a recompile so to use GEOSFree() instead of free().
 This is a compile time check :

 {{{
         /* Since GEOS 3.1.1, so we test 3.2.0 */
 #if GEOS_CAPI_VERSION_MAJOR >= 2 || (GEOS_CAPI_VERSION_MAJOR == 1 &&
 GEOS_CAPI_VERSION_MINOR >= 6)
         GEOSFree( pabyBuf );
 #else
         free( pabyBuf );
 #endif
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/175#comment:8>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the Osgeo4w-trac mailing list