[Qgis-developer] Re: build error

Salvatore Larosa s_larosa at libero.it
Tue Feb 7 05:50:55 EST 2012


Hi at all,
I also get this error on Debian / wheezy with SIP 4.13.1-3 (64bit):

[ 62%] Generating analysis/sipanalysispart0.cpp,
analysis/sipanalysispart1.cpp, analysis/sipanalysispart2.cpp,
analysis/sipanalysispart3.cpp

sip: Deprecation warning:
/home/sam/pacchetti_gis/qgis-1.7.3/python/analysis/analysis.sip:2: %Module
version number should be specified using the 'version' argument
sip: Deprecation warning:
/home/sam/pacchetti_gis/qgis-1.7.3/python/core/core.sip:2: %Module version
number should be specified using the 'version' argument
sip: Deprecation warning:
/home/sam/pacchetti_gis/qgis-1.7.3/python/core/qgsnetworkaccessmanager.sip:36:
Annotation is invalid
[ 62%] Building CXX object
python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart0.cpp.o
[ 62%] Building CXX object
python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart1.cpp.o
[ 62%] Building CXX object
python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart2.cpp.o
[ 63%] Building CXX object
python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart3.cpp.o
Linking CXX shared library analysis.so
[ 63%] Built target python_module_qgis_analysis
[ 63%] Generating core/sipcorepart0.cpp, core/sipcorepart1.cpp,
core/sipcorepart2.cpp, core/sipcorepart3.cpp

sip: Deprecation warning:
/home/sam/pacchetti_gis/qgis-1.7.3/python/core/core.sip:2: %Module version
number should be specified using the 'version' argument
sip: Deprecation warning:
/home/sam/pacchetti_gis/qgis-1.7.3/python/core/qgsnetworkaccessmanager.sip:36:
Annotation is invalid
[ 63%] Building CXX object
python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o
[ 63%] Building CXX object
python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o
/home/sam/pacchetti_gis/qgis-1.7.3/build/python/core/sipcorepart1.cpp: In
function ‘PyObject* meth_QgsSymbolV2_renderHints(PyObject*, PyObject*)’:
/home/sam/pacchetti_gis/qgis-1.7.3/build/python/core/sipcorepart1.cpp:6671:42:
error: passing ‘const QgsSymbolV2’ as ‘this’ argument of ‘int
QgsSymbolV2::renderHints()’ discards qualifiers [-fpermissive]
/home/sam/pacchetti_gis/qgis-1.7.3/build/python/core/sipcorepart1.cpp: In
function ‘PyObject* meth_QgsSymbolV2RenderContext_setSelected(PyObject*,
PyObject*)’:
/home/sam/pacchetti_gis/qgis-1.7.3/build/python/core/sipcorepart1.cpp:7069:35:
error: passing ‘const QgsSymbolV2RenderContext’ as ‘this’ argument of ‘void
QgsSymbolV2RenderContext::setSelected(bool)’ discards qualifiers
[-fpermissive]
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

Has anyone solved?

Regards!

SL

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/build-error-tp4350904p4372088.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list