[Qgis-developer] Error compiling qgis-server with internal spatialite support

Andrea Peri aperi2007 at gmail.com
Sat Jun 8 11:43:59 PDT 2013


Hi,
I try to enable the internal spatialite support in the cmake phase.
After this in compiling phase I'm having an error.
I report the log with the errors.

Is the spatialite-internal option still supported in qgis-dev ?

[ 79%] Building CXX object
src/providers/postgres/CMakeFiles/postgresprovider.dir/moc_qgscolumntypethread.cxx.o
Linking CXX shared module
../../../output/lib/qgis/plugins/libpostgresprovider.so
[ 79%] Built target postgresprovider
[ 79%] Generating moc_qgsspatialiteconnection.cxx
[ 79%] Generating moc_qgsspatialiteprovider.cxx
[ 79%] Generating moc_qgsspatialitedataitems.cxx
[ 79%] Generating moc_qgsspatialitesourceselect.cxx
[ 79%] Generating moc_qgsspatialitetablemodel.cxx
Scanning dependencies of target spatialiteprovider
[ 79%] Building CXX object
src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteprovider.cpp.o
In file included from
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:29:
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.h:393:
error: âgaiaVectorLayerPtrâ has not been declared
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.h:394:
error: âgaiaVectorLayerPtrâ has not been declared
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.h:395:
error: âgaiaVectorLayerPtrâ has not been declared
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.h:396:
error: âgaiaVectorLayerPtrâ has not been declared
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:
In constructor âQgsSpatiaLiteProvider::QgsSpatiaLiteProvider(const
QString&)â:
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:447:
error: âgaiaVectorLayersListPtrâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:447:
error: expected â;â before âlistâ
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:
error: âgaiaVectorLayerPtrâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:
error: expected â;â before âlyrâ
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:459:
error: âlistâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:462:
error: âGAIA_VECTORS_LIST_OPTIMISTICâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:462:
error: âgaiaGetVectorLayersListâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:464:
error: âlyrâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:465:
error: âlyrâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:506:
error: âlyrâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:516:
error: âlistâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:516:
error: âgaiaFreeVectorLayersListâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:525:
error: âlistâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:525:
error: âgaiaFreeVectorLayersListâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:530:
error: âlistâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:530:
error: âgaiaFreeVectorLayersListâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:
At global scope:
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:588:
error: variable or field âloadFieldsAbstractInterfaceâ declared void
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/providers/spatialite/qgsspatialiteprovider.cpp:588:
error: âgaiaVectorLayerPtrâ was not declared in this scope
make[2]: ***
[src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/qgsspatialiteprovider.cpp.o]
Error 1
make[1]: ***
[src/providers/spatialite/CMakeFiles/spatialiteprovider.dir/all] Error 2
make: *** [all] Error 2
[tomcat at copernico3 build-master]$


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130608/d117df30/attachment.html>


More information about the Qgis-developer mailing list