[QGIS-trac] Re: [Quantum GIS] #2121: trunk compilation errors

Quantum GIS qgis at qgis.org
Thu Nov 19 12:24:23 EST 2009


#2121: trunk compilation errors
--------------------------------------------------------------+-------------
        Reporter:  neteler                                    |         Owner:  jef          
            Type:  bug                                        |        Status:  assigned     
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.4.0
       Component:  Build/Install                              |       Version:  HEAD         
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  Mandriva     
        Must_fix:  No                                         |   Status_info:  1            
--------------------------------------------------------------+-------------
Comment (by neteler):

 OK, but bow I get
 {{{
 [ 41%] Built target qgis_gui
 [ 41%] Generating core/Makefile, gui/Makefile, analysis/Makefile
 [ 42%] Building CXX object
 src/plugins/copyright_label/CMakeFiles/copyrightlabelplugin.dir/plugin.o
 Linking CXX shared module libdelimitedtextplugin.so
 Parsing SIP files for 'core' library...
 /usr/bin/sip -c core -b
 /home/neteler/software/qgis_trunk/build/python/core/core.sbf -I
 /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t
 Qt_4_3_0 -g /home/neteler/software/qgis_trunk/python/core/core.sip
 In file included from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.h:15,
                  from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugin.cpp:45:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:24:25:
 error: qformlayout.h: No such file or directory
 [ 43%] Built target delimitedtextplugin
 [ 43%] Scanning dependencies of target qgis
 Building CXX object
 src/plugins/copyright_label/CMakeFiles/copyrightlabelplugin.dir/plugingui.o
 In file included from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.h:15,
                  from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.cpp:12:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:24:25:
 error: qformlayout.h: No such file or directory
 In file included from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.h:15,
                  from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.cpp:12:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:35:
 error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:35:
 error: expected ‘;’ before ‘*’ token
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:
 In member function ‘void
 Ui_QgsCopyrightLabelPluginGuiBase::setupUi(QDialog*)’:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: ‘formLayout’ was not declared in this scope
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: expected type-specifier before ‘QFormLayout’
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: expected `;' before ‘QFormLayout’
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:71:
 error: ‘QFormLayout’ has not been declared
 In file included from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugingui.h:15,
                  from
 /home/neteler/software/qgis_trunk/src/plugins/copyright_label/plugin.cpp:45:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:35:
 error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:35:
 error: expected ‘;’ before ‘*’ token
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:
 In member function ‘void
 Ui_QgsCopyrightLabelPluginGuiBase::setupUi(QDialog*)’:
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: ‘formLayout’ was not declared in this scope
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: expected type-specifier before ‘QFormLayout’
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:67:
 error: expected `;' before ‘QFormLayout’
 /home/neteler/software/qgis_trunk/build/src/plugins/copyright_label/ui_pluginguibase.h:71:
 error: ‘QFormLayout’ has not been declared
 make[2]: ***
 [src/plugins/copyright_label/CMakeFiles/copyrightlabelplugin.dir/plugingui.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs....
 Linking CXX shared module libinterpolationplugin.so
 make[2]: ***
 [src/plugins/copyright_label/CMakeFiles/copyrightlabelplugin.dir/plugin.o]
 Error 1
 make[1]: ***
 [src/plugins/copyright_label/CMakeFiles/copyrightlabelplugin.dir/all]
 Error 2
 make[1]: *** Waiting for unfinished jobs....
 [ 45%] Built target interpolationplugin
 [ 45%] [ 45%] Building CXX object src/app/CMakeFiles/qgis.dir/main.o
 [ 45%] Building CXX object src/app/CMakeFiles/qgis.dir/qgisapp.o
 Building CXX object src/app/CMakeFiles/qgis.dir/qgsattributeeditor.o
 /home/neteler/software/qgis_trunk/src/app/qgsattributeeditor.cpp: In
 static member function ‘static QWidget*
 QgsAttributeEditor::createAttributeEditor(QWidget*, QWidget*,
 QgsVectorLayer*, int, const QVariant&)’:
 /home/neteler/software/qgis_trunk/src/app/qgsattributeeditor.cpp:329:
 error: ‘pte’ was not declared in this scope
 make[2]: *** [src/app/CMakeFiles/qgis.dir/qgsattributeeditor.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
 Parsing SIP files for 'gui' library...
 /usr/bin/sip -c gui -b
 /home/neteler/software/qgis_trunk/build/python/gui/gui.sbf -I
 /home/neteler/software/qgis_trunk/python -I /usr/share/sip/PyQt4 -x
 VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_3_0 -g
 /home/neteler/software/qgis_trunk/python/gui/gui.sip
 Parsing SIP files for 'analysis' library...
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2121#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list