Hi, Sorry, I do an error. Unavvertitelly I use the trunk instead of last release 2.18.17
Sorry for noise. A. 2018-04-27 13:41 GMT+02:00 Andrea Peri <[email protected]>: > Hi, > I'm try.ing to compile the last relesed version of QGIS 2.18 as > qgis-server in Linux Debian. > > But I'm having this error: > > [ 94%] Building CXX object src/server/CMakeFiles/qgis_ > server.dir/qgsowsserver.cpp.o > In file included from /home/tomcat/software/30-qgis/ > QuantumGIS_2.18/src/server/qgsowsserver.cpp:18:0: > /home/tomcat/software/30-qgis/QuantumGIS_2.18/src/server/qgsowsserver.h:84:40: > error: ‘QgsFeature’ does not name a type > static QString featureGmlId( const QgsFeature* f, const > QgsAttributeList& pkAttributes ); > ^~~~~~~~~~ > /home/tomcat/software/30-qgis/QuantumGIS_2.18/src/server/qgsowsserver.cpp:68:9: > error: prototype for ‘QString QgsOWSServer::featureGmlId(const > QgsFeature*, const QgsAttributeList&)’ does not match any in class > ‘QgsOWSServer’ > QString QgsOWSServer::featureGmlId( const QgsFeature* f, const > QgsAttributeList& pkAttributes ) > ^~~~~~~~~~~~ > In file included from /home/tomcat/software/30-qgis/ > QuantumGIS_2.18/src/server/qgsowsserver.cpp:18:0: > /home/tomcat/software/30-qgis/QuantumGIS_2.18/src/server/qgsowsserver.h:84:20: > error: candidate is: static QString QgsOWSServer::featureGmlId(const > int*, const QgsAttributeList&) > static QString featureGmlId( const QgsFeature* f, const > QgsAttributeList& pkAttributes ); > ^~~~~~~~~~~~ > src/server/CMakeFiles/qgis_server.dir/build.make:260: recipe for target > 'src/server/CMakeFiles/qgis_server.dir/qgsowsserver.cpp.o' failed > make[2]: *** [src/server/CMakeFiles/qgis_server.dir/qgsowsserver.cpp.o] > Error 1 > CMakeFiles/Makefile2:1829: recipe for target > 'src/server/CMakeFiles/qgis_server.dir/all' > failed > make[1]: *** [src/server/CMakeFiles/qgis_server.dir/all] Error 2 > Makefile:149: recipe for target 'all' failed > make: *** [all] Error 2 > > I don't understand what is the error. > Seem a compiler incompatibility ? > > A. > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
