<div dir="ltr"><div><div><div><div><div>After a fast email exchange with the Spatialite Maintainer (many thx to Alessandro Furieri) ,<br></div>the issue was resolved.<br></div>QGIS IS using an old deprecated constant "GAIA_VECTORS_LIST_FAST".<br>
</div><div>It was deprecated in the 4.1.0 release, and with the 4.2.0 it is definitively removed from source.<br><br></div>The right usable constants should be:<br>GAIA_VECTORS_LIST_OPTIMISTC and GAIA_VECTORS_LIST_PESSIMISTIC
<br><br></div>As workaround I add this line to my local spatialite src:<br></div>in the file gg_const.h<div><br>#define GAIA_VECTORS_LIST_FAST    0
<br><br></div><div>it mean absolutely none,<br>but with help to resolve the error in qgis compile.<br><br></div><div>I prefer to change the spatialite because I'm no so smart with the qgis code.<br><br></div><div>But the right correction should be in qgis to invoke the two supported constants:<br>
<br>GAIA_VECTORS_LIST_OPTIMISTC and GAIA_VECTORS_LIST_PESSIMISTIC
<br></div><div>instead of the deprecated <br>GAIA_VECTORS_LIST_FAST<br><br></div><div>Best regards.<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-01 23:43 GMT+02:00 Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>I' try to compile qgis from trunk using the last available Spatialite 4.2.0 RC1 as available on spatialite site.<br>
<br></div>In the compile phase I have this error:<br><br>
[ 91%] Building CXX object 
src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteconnection.cpp.o
<br>/home/archivio/tomcat/software/qgis/QuantumGIS/src/providers/spatialite/qgsspatialiteconnection.cpp: 
In member function ‘bool 
QgsSpatiaLiteConnection::getTableInfoAbstractInterface(sqlite3*, bool)’:
<br>/home/archivio/tomcat/software/qgis/QuantumGIS/src/providers/spatialite/qgsspatialiteconnection.cpp:301:55: 
error: ‘GAIA_VECTORS_LIST_FAST’ was not declared in this scope
<br>make[2]: *** 
[src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteconnection.cpp.o] 
Error 1
<br>make[1]: *** 
[src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/all] Error 2
<br>make: *** [all] Error 2
<br><br></div><div>I'm not sure if this is a bug for spatialite guys or (more probably) an incompatibility of QGIS source.<br></div><div><br>Has anyone try the new SL 4.2.0 with qgis source ?<br><br clear="all"></div>

</div><div><div><div><div><div><div><div>Thx,<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>
qwerty àèìòù<br>-----------------<br>
</div></font></span></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br>
</div>