[QGIS-Developer] Error during master compilation
matteo
matteo.ghetta at gmail.com
Wed Mar 7 23:41:37 PST 2018
Hi devs,
even with a new source directory I cannot compile QGIS. I get this error:
In file included from
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingregistry.cpp:20:0:
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:
In member function ‘virtual QgsProcessingParameterType::ParameterFlags
QgsProcessingParameterTypeVectorDestination::flags() const’:
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:396:13:
error: ‘QgsProcessingParameterType::ParameterFlags {aka class
QFlags<QgsProcessingParameterType::ParameterFlag>}’ has no member named
‘setFlag’
flags.setFlag( ParameterFlag::ExposeToModeler, false );
^
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:
In member function ‘virtual QgsProcessingParameterType::ParameterFlags
QgsProcessingParameterTypeFileDestination::flags() const’:
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:438:13:
error: ‘QgsProcessingParameterType::ParameterFlags {aka class
QFlags<QgsProcessingParameterType::ParameterFlag>}’ has no member named
‘setFlag’
flags.setFlag( ParameterFlag::ExposeToModeler, false );
^
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:
In member function ‘virtual QgsProcessingParameterType::ParameterFlags
QgsProcessingParameterTypeFolderDestination::flags() const’:
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:481:13:
error: ‘QgsProcessingParameterType::ParameterFlags {aka class
QFlags<QgsProcessingParameterType::ParameterFlag>}’ has no member named
‘setFlag’
flags.setFlag( ParameterFlag::ExposeToModeler, false );
^
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:
In member function ‘virtual QgsProcessingParameterType::ParameterFlags
QgsProcessingParameterTypeRasterDestination::flags() const’:
/home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocessingparametertypeimpl.h:523:13:
error: ‘QgsProcessingParameterType::ParameterFlags {aka class
QFlags<QgsProcessingParameterType::ParameterFlag>}’ has no member named
‘setFlag’
flags.setFlag( ParameterFlag::ExposeToModeler, false );
^
[ 11%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/processing/models/qgsprocessingmodelparameter.cpp.o
src/core/CMakeFiles/qgis_core.dir/build.make:3250: recipe for target
'src/core/CMakeFiles/qgis_core.dir/processing/qgsprocessingregistry.cpp.o'
failed
make[2]: ***
[src/core/CMakeFiles/qgis_core.dir/processing/qgsprocessingregistry.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1243: recipe for target
'src/core/CMakeFiles/qgis_core.dir/all' failed
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
Some suggestions?
Thanks
Matteo
More information about the QGIS-Developer
mailing list