[GRASS-dev] Fwd: [osgeo4w] #305: sqlite/spatialite: "sqlite3-rtree-geometry-callback" not found in the dll "sqlite3.dll"

Helmut Kudrnovsky hellik at web.de
Sun Oct 28 03:47:55 PDT 2012


>Here a GRASS 7 question: 
>
>---------- Forwarded message ----------
>From: OSGeo4W <[hidden email]>
>Date: Sat, Oct 27, 2012 at 8:47 PM
>Subject: Re: [osgeo4w] #305: sqlite/spatialite:
>"sqlite3-rtree-geometry-callback" not found in the dll "sqlite3.dll" 

forwarded from the spatialite-ML:

> in SpatiaLite? 3.0.1 (the version shipped with OSGeo4W) the name
> of the flag is OMIT_GEOCALLBACKS, probably it was changed to
> DISABLE_GEOMETRY_CALLBACKS in the last splite version.
>

there is absolutely no contradiction (no change) in this.
reality is much more simple: OSGeo4W doesn't uses the canonical build
scripts; it's based instead on the proprietary MSVC compiler.
and in this environment canonical ./configure scripts are nicely
unsupported at all.

./configure --enable-geocallbacks=[yes|no]

this will automatically set as appropriate an internal C flag named
OMIT_GEOCALLBACKS, and will silently set any Makefile as required.
OSGeo4W skips at all the "abstract level" handled by the ./configure
script, directly jumping to the "raw level" of Makefiles and C code;
so the canonical --enable-geocallbacks or --disable-geocallbacks
options are surely invisible from their own perspective, and they
can simply interact with the OMIT_GEOCALLBACKS flag.


>  So disabling the geometry callbacks in spatialite lib cannot make
> grass7-dev working again.
>
> any idea?
>

looks like a grass7-dev specific problem; very probably some of their
modules are still using the deprecated geo-callbacks methods, that
are now disabled by default and that will be definitely removed from
future versions of spatialite.
correcting the C code so to switch from geo-callbacks to the most
recent
VirtualSpatialIndex interface is a very simple operation, just
requiring
to rewrite the SQL queries accessing the Spatial Index.
Not at all a complex patch.

bye Sandro



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Fwd-osgeo4w-305-sqlite-spatialite-sqlite3-rtree-geometry-callback-not-found-in-the-dll-sqlite3-dll-tp5011732p5011781.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list