I issue a ticket on this. https://issues.qgis.org/issues/18888
Regards, A. 2018-04-29 0:56 GMT+02:00 Andrea Peri <[email protected]>: > Hi, > > I have successful compile using the release 2.18.15. With some other more > recent 2.18 version the compile is not terminate in the server code section. > > Regards, > A. > > > 2018-04-28 0:03 GMT+02:00 Andrea Peri <[email protected]>: > >> Hi, >> >> The compile error is always here. >> I tried also with the released package final-2_18_19. >> >> This is the error I'm having. >> >> --- >> [ 94%] Building CXX object src/server/CMakeFiles/qgis_ser >> ver.dir/qgssoaprequesthandler.cpp.o >> [ 94%] Building CXX object src/server/CMakeFiles/qgis_ser >> ver.dir/qgsowsserver.cpp.o >> In file included from /home/tomcat/software/30-qgis/ >> QGIS-final-2_18_19/src/server/qgsowsserver.cpp:18:0: >> /home/tomcat/software/30-qgis/QGIS-final-2_18_19/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/QGIS-final-2_18_19/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/ >> QGIS-final-2_18_19/src/server/qgsowsserver.cpp:18:0: >> /home/tomcat/software/30-qgis/QGIS-final-2_18_19/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'm using Debian stretch 64 bit. >> >> A. >> >> >> >> 2018-04-27 14:12 GMT+02:00 Andrea Peri <[email protected]>: >> >>> 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_ser >>>> ver.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 àèìòù >>> ----------------- >>> >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> > > > > -- > ----------------- > 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
