[QGIS-Developer] Error during master compilation

Etienne Trimaille etienne.trimaille at gmail.com
Thu Mar 8 00:48:48 PST 2018


I think you should wait for this PR Matteo:
https://github.com/qgis/QGIS/pull/6558

Which Qt version are you using?

2018-03-08 9:31 GMT+01:00 Hernán De Angelis <dhdeangelis at gmail.com>:

> Matteo,
>
> Which OS are you using?
>
> I have similar problems trying to build QGIS 3 in openSUSE Leap 42.3. I
> posted a question a few days back about that. I got an answer from Luigi,
> saying that the lines of code where the error happened had not changed in
> over a year, a hint that QGIS is not the problem.
>
> Puzzled about the repeating error, and having installed and reinstalled
> all thinkable dependencies and changed all options, I saw that I could
> without problems build QGIS 2.18.17. I then came to the conclusion that the
> most likely trouble is caused by misunderstandings in the coexistence
> between Python 3 and 2, and QT 4 and 5 in my own OS installation. I mean
> that I am not clearly telling the build where to find the libraries, and
> that I possibly have a mix of versions in my computer.
>
> I have not yet worked around this, but I am pretty convinced this is a
> problem because I have seen these kind of errors in previous versions, in
> those cases when I wasn't careful enough to tell the compiler to not use
> Python 3 or QT 5.
>
> Hope this helps.
>
> H.
>
>
>
>
> On Thu, Mar 8, 2018 at 8:41 AM, matteo <matteo.ghetta at gmail.com> wrote:
>
>> 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/qgsprocess
>> ingregistry.cpp:20:0:
>> /home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocess
>> ingparametertypeimpl.h:
>> In member function ‘virtual QgsProcessingParameterType::ParameterFlags
>> QgsProcessingParameterTypeVectorDestination::flags() const’:
>> /home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocess
>> ingparametertypeimpl.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/qgsprocess
>> ingparametertypeimpl.h:
>> In member function ‘virtual QgsProcessingParameterType::ParameterFlags
>> QgsProcessingParameterTypeFileDestination::flags() const’:
>> /home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocess
>> ingparametertypeimpl.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/qgsprocess
>> ingparametertypeimpl.h:
>> In member function ‘virtual QgsProcessingParameterType::ParameterFlags
>> QgsProcessingParameterTypeFolderDestination::flags() const’:
>> /home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocess
>> ingparametertypeimpl.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/qgsprocess
>> ingparametertypeimpl.h:
>> In member function ‘virtual QgsProcessingParameterType::ParameterFlags
>> QgsProcessingParameterTypeRasterDestination::flags() const’:
>> /home/matteo/lavori/QGIS/QGIS/src/core/processing/qgsprocess
>> ingparametertypeimpl.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/qgsproce
>> ssingmodelparameter.cpp.o
>> src/core/CMakeFiles/qgis_core.dir/build.make:3250: recipe for target
>> 'src/core/CMakeFiles/qgis_core.dir/processing/qgsprocessingr
>> egistry.cpp.o'
>> failed
>> make[2]: ***
>> [src/core/CMakeFiles/qgis_core.dir/processing/qgsprocessingr
>> egistry.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
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180308/0d05a86b/attachment-0001.html>


More information about the QGIS-Developer mailing list