[QGIS-trac] Re: [Quantum GIS] #2121: trunk compilation errors
Quantum GIS
qgis at qgis.org
Fri Nov 20 15:07:34 EST 2009
#2121: trunk compilation errors
--------------------------------------------------------------+-------------
Reporter: neteler | Owner: timlinux
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):
Thanks Tim. Here we go:
{{{
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.o
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:
In member function ‘double
QgsMapToolRotatePointSymbols::calculateAzimut(const QPoint&)’:
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
error: ‘atan2’ was not declared in this scope
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
error: ‘M_PI’ was not declared in this scope
make[2]: *** [src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.o]
Error 1
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/qgsvectorlayerproperties.o
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/composer/qgscomposer.o
In file included from
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposerlegendwidget.h:21,
from
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp:27:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:
In member function ‘void
Ui_QgsComposerLegendWidgetBase::setupUi(QWidget*)’:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:174:
error: ‘class QTreeView’ has no member named ‘setHeaderHidden’
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp: In
member function ‘void QgsComposer::on_mActionExportAsPDF_triggered()’:
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp:459:
error: ‘class QPrinter’ has no member named ‘setPaperSize’
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp:459:
error: ‘Millimeter’ is not a member of ‘QPrinter’
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp: In
member function ‘void QgsComposer::on_mActionPrint_triggered()’:
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp:478:
error: ‘class QPrinter’ has no member named ‘setPaperSize’
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposer.cpp:478:
error: ‘Millimeter’ is not a member of ‘QPrinter’
make[2]: *** [src/app/CMakeFiles/qgis.dir/composer/qgscomposer.o] Error 1
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/composer/qgscomposerlabelwidget.o
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/composer/qgscomposerlegendwidget.o
In file included from
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposerlegendwidget.h:21,
from
/home/neteler/software/qgis_trunk/src/app/composer/qgscomposerlegendwidget.cpp:18:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:
In member function ‘void
Ui_QgsComposerLegendWidgetBase::setupUi(QWidget*)’:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:174:
error: ‘class QTreeView’ has no member named ‘setHeaderHidden’
make[2]: ***
[src/app/CMakeFiles/qgis.dir/composer/qgscomposerlegendwidget.o] Error 1
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/moc_qgscontinuouscolordialog.o
[ 32%] Building CXX object src/app/CMakeFiles/qgis.dir/moc_qgsludialog.o
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/moc_qgscomposerlabelwidget.o
[ 32%] Building CXX object
src/app/CMakeFiles/qgis.dir/moc_qgscomposerlegendwidget.o
In file included from
/home/neteler/software/qgis_trunk/build/src/app/../../../src/app/composer/qgscomposerlegendwidget.h:21,
from
/home/neteler/software/qgis_trunk/build/src/app/moc_qgscomposerlegendwidget.cxx:10:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:
In member function ‘void
Ui_QgsComposerLegendWidgetBase::setupUi(QWidget*)’:
/home/neteler/software/qgis_trunk/build/src/app/../ui/ui_qgscomposerlegendwidgetbase.h:174:
error: ‘class QTreeView’ has no member named ‘setHeaderHidden’
make[2]: *** [src/app/CMakeFiles/qgis.dir/moc_qgscomposerlegendwidget.o]
Error 1
make[2]: Target `src/app/CMakeFiles/qgis.dir/build' not remade because of
errors.
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
...
[ 42%] Generating ui_pluginguibase.h
Scanning dependencies of target scalebarplugin
[ 43%] Building CXX object
src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/plugin.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugin.cpp:52:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:24:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugin.cpp:52:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:
In member function ‘void Ui_QgsScaleBarPluginGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected `;' before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:57:
error: ‘QFormLayout’ has not been declared
make[2]: ***
[src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/plugin.o] Error 1
[ 43%] Building CXX object
src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/plugingui.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.cpp:12:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:24:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/src/plugins/scale_bar/plugingui.cpp:12:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:
In member function ‘void Ui_QgsScaleBarPluginGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected `;' before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:57:
error: ‘QFormLayout’ has not been declared
make[2]: ***
[src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/plugingui.o] Error 1
[ 43%] Building CXX object
src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/moc_plugingui.o
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/../../../../src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/moc_plugingui.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:24:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/../../../../src/plugins/scale_bar/plugingui.h:15,
from
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/moc_plugingui.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:31:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:
In member function ‘void Ui_QgsScaleBarPluginGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:54:
error: expected `;' before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/scale_bar/ui_pluginguibase.h:57:
error: ‘QFormLayout’ has not been declared
make[2]: ***
[src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/moc_plugingui.o]
Error 1
make[2]: Target
`src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/build' not remade
because of errors.
make[1]: *** [src/plugins/scale_bar/CMakeFiles/scalebarplugin.dir/all]
Error 2
[ 43%] Building CXX object
src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/qgsselectgeoraster_ui.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsselectgeoraster_ui.cpp:18:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsselectgeoraster_ui.cpp:18:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:
In member function ‘void Ui_OracleConnectGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/qgsselectgeoraster_ui.o]
Error 1
[ 44%] Building CXX object
src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/qgsoracleconnect_ui.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.cpp:17:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/src/plugins/oracle_raster/qgsoracleconnect_ui.cpp:17:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:
In member function ‘void Ui_OracleConnectGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/qgsoracleconnect_ui.o]
Error 1
[ 44%] Building CXX object
src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/moc_qgsoracleconnect_ui.o
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/../../../../src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/moc_qgsoracleconnect_ui.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/../../../../src/plugins/oracle_raster/qgsoracleconnect_ui.h:21,
from
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/moc_qgsoracleconnect_ui.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:
In member function ‘void Ui_OracleConnectGuiBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/oracle_raster/ui_qgsoracleconnectbase.h:45:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/moc_qgsoracleconnect_ui.o]
Error 1
make[2]: Target
`src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/build' not remade
because of errors.
make[1]: *** [src/plugins/oracle_raster/CMakeFiles/oracleplugin.dir/all]
Error 2
Linking CXX shared module librasterterrainplugin.so
[ 45%] Built target rasterterrainplugin
Linking CXX shared module libquickprintplugin.so
[ 46%] Built target quickprintplugin
Linking CXX shared module libcoordinatecaptureplugin.so
[ 47%] Built target coordinatecaptureplugin
Linking CXX shared module libdxf2shpconverterplugin.so
[ 48%] Built target dxf2shpconverterplugin
Linking CXX shared module libogrconverterplugin.so
[ 49%] Built target ogrconverterplugin
Linking CXX shared module libdiagramoverlay.so
[ 52%] Built target diagramoverlay
Linking CXX shared module libevis.so
[ 54%] Built target evis
Scanning dependencies of target labelingplugin
[ 54%] Building CXX object
src/plugins/labeling/CMakeFiles/labelingplugin.dir/labeling.o
/home/neteler/software/qgis_trunk/src/plugins/labeling/labeling.cpp: In
member function ‘virtual void
LabelingTool::canvasPressEvent(QMouseEvent*)’:
/home/neteler/software/qgis_trunk/src/plugins/labeling/labeling.cpp:83:
error: ‘class QMouseEvent’ has no member named ‘posF’
make[2]: ***
[src/plugins/labeling/CMakeFiles/labelingplugin.dir/labeling.o] Error 1
[ 54%] Building CXX object
src/plugins/labeling/CMakeFiles/labelingplugin.dir/pallabeling.o
make[2]: Target `src/plugins/labeling/CMakeFiles/labelingplugin.dir/build'
not remade because of errors.
make[1]: *** [src/plugins/labeling/CMakeFiles/labelingplugin.dir/all]
Error 2
Linking CXX shared module libspitplugin.so
[ 56%] Built target spitplugin
Linking CXX shared module libgpsimporterplugin.so
[ 57%] Built target gpsimporterplugin
Linking CXX shared module libwfsplugin.so
[ 58%] Built target wfsplugin
[ 58%] Building CXX object
src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgspointdialog.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgspointdialog.cpp:35:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgspointdialog.cpp:35:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:
In member function ‘void
Ui_QgsGeorefWarpOptionsDialogBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgspointdialog.o]
Error 1
[ 58%] Building CXX object
src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgsgeorefwarpoptionsdialog.o
In file included from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp:16:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp:16:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:
In member function ‘void
Ui_QgsGeorefWarpOptionsDialogBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/georeferencer/CMakeFiles/georefplugin.dir/qgsgeorefwarpoptionsdialog.o]
Error 1
[ 58%] Building CXX object
src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgeorefwarpoptionsdialog.o
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/../../../../src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/moc_qgsgeorefwarpoptionsdialog.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:22:25:
error: qformlayout.h: No such file or directory
In file included from
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/../../../../src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h:19,
from
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/moc_qgsgeorefwarpoptionsdialog.cxx:10:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:27:
error: expected ‘;’ before ‘*’ token
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:
In member function ‘void
Ui_QgsGeorefWarpOptionsDialogBase::setupUi(QDialog*)’:
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: ‘formLayout’ was not declared in this scope
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected type-specifier before ‘QFormLayout’
/home/neteler/software/qgis_trunk/build/src/plugins/georeferencer/ui_qgsgeorefwarpoptionsdialogbase.h:40:
error: expected `;' before ‘QFormLayout’
make[2]: ***
[src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgeorefwarpoptionsdialog.o]
Error 1
make[2]: Target
`src/plugins/georeferencer/CMakeFiles/georefplugin.dir/build' not remade
because of errors.
make[1]: *** [src/plugins/georeferencer/CMakeFiles/georefplugin.dir/all]
Error 2
Linking CXX shared module libgrassplugin.so
[ 66%] Built target grassplugin
[ 67%] Built target pluginstaller
[ 67%] Built target mapserverexport
[ 67%] Built target ftools
[ 68%] Built target osmplugin
[ 70%] Built target ftools_tools
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
[ 0%] Built target svnversion
[ 7%] Built target ui
[ 23%] Built target qgis_core
[ 31%] Built target qgis_gui
[ 31%] Building CXX object
src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.o
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:
In member function ‘double
QgsMapToolRotatePointSymbols::calculateAzimut(const QPoint&)’:
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
error: ‘atan2’ was not declared in this scope
/home/neteler/software/qgis_trunk/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
error: ‘M_PI’ was not declared in this scope
make[2]: *** [src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.o]
Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make: *** [all] Error 2
}}}
best,
Markus
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2121#comment:11>
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