Thx. I open a pull request. https://github.com/qgis/QGIS/pull/1417
I'm not skill with github pull request so hope all is to do as needed. 2014-06-02 9:29 GMT+02:00 Richard Duivenvoorde <[email protected]>: > Hi Andrea, > > fyi I just rebuild on Debian here and changed the GAIA_VECTORS_LIST_FAST > by GAIA_VECTORS_LIST_OPTIMISTIC (Note that you miss a I in the > OPTIMISTIC part of your email). > All seems to compile ok on Debian here (libspatialite 4.1.1). > I'm not sure what is suited best: the optimistic or the pessimistic > scenario :-) Because the old status was "FAST" I opt for optimistic. But > maybe spatialite guru's can better decide on this. > > So maybe best to sent this to the dev list? Or create pull request (for > after the next release)? > > Regards, > > Richard > > On 02-06-14 08:40, Andrea Peri wrote: > > After a fast email exchange with the Spatialite Maintainer (many thx to > > Alessandro Furieri) , > > the issue was resolved. > > QGIS IS using an old deprecated constant "GAIA_VECTORS_LIST_FAST". > > It was deprecated in the 4.1.0 release, and with the 4.2.0 it is > > definitively removed from source. > > > > The right usable constants should be: > > GAIA_VECTORS_LIST_OPTIMISTC and GAIA_VECTORS_LIST_PESSIMISTIC > > > > As workaround I add this line to my local spatialite src: > > in the file gg_const.h > > > > #define GAIA_VECTORS_LIST_FAST 0 > > > > it mean absolutely none, > > but with help to resolve the error in qgis compile. > > > > I prefer to change the spatialite because I'm no so smart with the qgis > > code. > > > > But the right correction should be in qgis to invoke the two supported > > constants: > > > > GAIA_VECTORS_LIST_OPTIMISTC and GAIA_VECTORS_LIST_PESSIMISTIC > > instead of the deprecated > > GAIA_VECTORS_LIST_FAST > > > > Best regards. > > > > > > > > 2014-06-01 23:43 GMT+02:00 Andrea Peri <[email protected] > > <mailto:[email protected]>>: > > > > Hi, > > I' try to compile qgis from trunk using the last available > > Spatialite 4.2.0 RC1 as available on spatialite site. > > > > In the compile phase I have this error: > > > > [ 91%] Building CXX object > > > src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteconnection.cpp.o > > > > > /home/archivio/tomcat/software/qgis/QuantumGIS/src/providers/spatialite/qgsspatialiteconnection.cpp: > > In member function ‘bool > > QgsSpatiaLiteConnection::getTableInfoAbstractInterface(sqlite3*, > > bool)’: > > > /home/archivio/tomcat/software/qgis/QuantumGIS/src/providers/spatialite/qgsspatialiteconnection.cpp:301:55: > > error: ‘GAIA_VECTORS_LIST_FAST’ was not declared in this scope > > make[2]: *** > > > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteconnection.cpp.o] > > Error 1 > > make[1]: *** > > [src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/all] > > Error 2 > > make: *** [all] Error 2 > > > > I'm not sure if this is a bug for spatialite guys or (more probably) > > an incompatibility of QGIS source. > > > > Has anyone try the new SL 4.2.0 with qgis source ? > > > > Thx, > > > > -- > > ----------------- > > Andrea Peri > > . . . . . . . . . > > qwerty àèìòù > > ----------------- > > > > > > > > > > -- > > ----------------- > > Andrea Peri > > . . . . . . . . . > > qwerty àèìòù > > ----------------- > > > > > > _______________________________________________ > > Qgis-user mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/qgis-user > > > > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
