[Qgis-developer] build error: ‘a2State’ was not declared in this scope
Vincent Schut
schut at sarvision.nl
Tue Mar 19 01:26:21 PDT 2013
On 03/18/2013 03:24 PM, Vincent Schut wrote:
> Hi,
>
> when building qgis from source (fresh git checkout just to be sure) I
> get the following error:
>
> Building CXX object
> python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o
> /usr/local/src/qgis/build/python/core/sipcorepart1.cpp: In function
> ‘void* init_QgsPalettedRasterRenderer(sipSimpleWrapper*, PyObject*,
> PyObject*, PyObject**, PyObject**, PyObject**)’:
> /usr/local/src/qgis/build/python/core/sipcorepart1.cpp:55749:46: error:
> ‘a2State’ was not declared in this scope
> /usr/local/src/qgis/build/python/core/sipcorepart1.cpp:55754:46: error:
> ‘a2State’ was not declared in this scope
> make[2]: ***
> [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o]
> Error 1
> make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
> make: *** [all] Error 2
>
> just adding a line with "int a2State = 0;" @55686 seems to resolve the
> problem, at least at compile time, but I'm not sip-literate enough to
> know if this is the right solution...
Additional info that might be relevant (as others do not seem to see
this): my sip was updated not too long ago to 4.14.4. Could that cause
the error?
>
> Best,
> Vincent.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list