[Qgis-developer] build error: ‘a2State’ was not declared in this scope
Vincent Schut
schut at sarvision.nl
Mon Mar 18 07:24:25 PDT 2013
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...
Best,
Vincent.
More information about the Qgis-developer
mailing list