[Qgis-user] Qgis 1.7compilation and Qwt

thomas.mensch at free.fr thomas.mensch at free.fr
Sat Aug 27 08:28:42 PDT 2011


Hello,

I am trying to install Qgis 1.7 on a corporate linux distribution based on CentOS. I encounter a problem at the compilation with Qwt (version 6.0.1) and QwtPolar (version 1.0.0) libraries, which are not found (below the make output). I also tried to compile with a previous version of Qwt (5.2.2) but I get the same error message.
Does someone has an idea how to solve this problem?

Thank you for your help,

Regards,

Thomas


[  0%] Built target version
[ 17%] Built target qgis_core
[ 19%] Built target qgis_analysis
[ 26%] Built target ui
[ 38%] Built target qgis_gui
Linking CXX executable ../../output/bin/qgis
CMakeFiles/qgis.dir/qgsrasterlayerproperties.cpp.o: In function `QgsRasterLayerProperties::refreshHistogram()':
qgsrasterlayerproperties.cpp:(.text+0x809b): undefined reference to `QwtPlotDict::setAutoDelete(bool)'
qgsrasterlayerproperties.cpp:(.text+0x80cb): undefined reference to `QwtPlot::setTitle(QString const&)'
qgsrasterlayerproperties.cpp:(.text+0x8128): undefined reference to `QwtLegend::QwtLegend(QWidget*)'
qgsrasterlayerproperties.cpp:(.text+0x818f): undefined reference to `QwtPlot::insertLegend(QwtLegend*, QwtPlot::LegendPosition, double)'
qgsrasterlayerproperties.cpp:(.text+0x81c4): undefined reference to `QwtPlot::setAxisTitle(int, QString const&)'
qgsrasterlayerproperties.cpp:(.text+0x8234): undefined reference to `QwtPlot::setAxisTitle(int, QString const&)'
qgsrasterlayerproperties.cpp:(.text+0x828c): undefined reference to `QwtPlot::setAxisAutoScale(int, bool)'
qgsrasterlayerproperties.cpp:(.text+0x82a9): undefined reference to `QwtPlotGrid::QwtPlotGrid()'
qgsrasterlayerproperties.cpp:(.text+0x82fa): undefined reference to `QwtPlotItem::attach(QwtPlot*)'
qgsrasterlayerproperties.cpp:(.text+0x862c): undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
qgsrasterlayerproperties.cpp:(.text+0x86cc): undefined reference to `QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
qgsrasterlayerproperties.cpp:(.text+0x86df): undefined reference to `QwtPlotItem::setRenderHint(QwtPlotItem::RenderHint, bool)'
qgsrasterlayerproperties.cpp:(.text+0x8707): undefined reference to `QwtPlotCurve::setPen(QPen const&)'
qgsrasterlayerproperties.cpp:(.text+0x87a6): undefined reference to `QwtPlotCurve::setSamples(QVector<QPointF> const&)'
qgsrasterlayerproperties.cpp:(.text+0x87bd): undefined reference to `QwtPlotItem::attach(QwtPlot*)'
qgsrasterlayerproperties.cpp:(.text+0x88dc): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsrasterlayerproperties.cpp:(.text+0x8994): undefined reference to `QwtPlot::canvas()'
CMakeFiles/qgis.dir/qgsrasterlayerproperties.cpp.o: In function `Ui_QgsRasterLayerPropertiesBase::setupUi(QDialog*)':
qgsrasterlayerproperties.cpp:(.text._ZN31Ui_QgsRasterLayerPropertiesBase7setupUiEP7QDialog[Ui_QgsRasterLayerPropertiesBase::setupUi(QDialog*)]+0xe833): undefined reference to `QwtPlot::QwtPlot(QWidget*)'
CMakeFiles/qgis.dir/gps/qgsgpsinformationwidget.cpp.o: In function `QgsGPSInformationWidget::displayGPSInformation(QgsGPSInformation const&)':
qgsgpsinformationwidget.cpp:(.text+0x2b50): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0x2e4c): undefined reference to `QwtPolarMarker::QwtPolarMarker()'
qgsgpsinformationwidget.cpp:(.text+0x2e8d): undefined reference to `QwtPolarMarker::setPosition(QwtPointPolar const&)'
qgsgpsinformationwidget.cpp:(.text+0x2f3f): undefined reference to `QwtSymbol::QwtSymbol(QwtSymbol::Style, QBrush const&, QPen const&, QSize const&)'
qgsgpsinformationwidget.cpp:(.text+0x2f52): undefined reference to `QwtPolarMarker::setSymbol(QwtSymbol const*)'
qgsgpsinformationwidget.cpp:(.text+0x2fd4): undefined reference to `QwtPolarMarker::setLabelAlignment(QFlags<Qt::AlignmentFlag>)'
qgsgpsinformationwidget.cpp:(.text+0x3003): undefined reference to `QwtText::QwtText(QString const&, QwtText::TextFormat)'
qgsgpsinformationwidget.cpp:(.text+0x304a): undefined reference to `QwtText::setColor(QColor const&)'
qgsgpsinformationwidget.cpp:(.text+0x305d): undefined reference to `QwtText::setBackgroundBrush(QBrush const&)'
qgsgpsinformationwidget.cpp:(.text+0x3070): undefined reference to `QwtPolarMarker::setLabel(QwtText const&)'
qgsgpsinformationwidget.cpp:(.text+0x308d): undefined reference to `QwtPolarItem::attach(QwtPolarPlot*)'
qgsgpsinformationwidget.cpp:(.text+0x30b3): undefined reference to `QwtText::~QwtText()'
qgsgpsinformationwidget.cpp:(.text+0x30cf): undefined reference to `QwtText::~QwtText()'
qgsgpsinformationwidget.cpp:(.text+0x31be): undefined reference to `QwtPlotCurve::setSamples(QVector<QPointF> const&)'
CMakeFiles/qgis.dir/gps/qgsgpsinformationwidget.cpp.o: In function `QgsGPSInformationWidget::QgsGPSInformationWidget(QgsMapCanvas*, QWidget*, QFlags<Qt::WindowType>)':
qgsgpsinformationwidget.cpp:(.text+0x89b4): undefined reference to `QwtPlot::QwtPlot(QWidget*)'
qgsgpsinformationwidget.cpp:(.text+0x89e1): undefined reference to `QwtPlot::setAutoReplot(bool)'
qgsgpsinformationwidget.cpp:(.text+0x8a42): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0x8a7b): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0x8abe): undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
qgsgpsinformationwidget.cpp:(.text+0x8b4a): undefined reference to `QwtPlotItem::setRenderHint(QwtPlotItem::RenderHint, bool)'
qgsgpsinformationwidget.cpp:(.text+0x8b88): undefined reference to `QwtPlotCurve::setPen(QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0x8bec): undefined reference to `QwtPlotCurve::setBrush(QBrush const&)'
qgsgpsinformationwidget.cpp:(.text+0x8c3d): undefined reference to `QwtPlot::enableAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x8c5a): undefined reference to `QwtPlot::enableAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x8c7e): undefined reference to `QwtPlotItem::attach(QwtPlot*)'
qgsgpsinformationwidget.cpp:(.text+0x8c9a): undefined reference to `QwtPlotDict::setAutoDelete(bool)'
qgsgpsinformationwidget.cpp:(.text+0x8d8d): undefined reference to `QwtPolarPlot::QwtPolarPlot(QWidget*)'
qgsgpsinformationwidget.cpp:(.text+0x8dba): undefined reference to `QwtPolarPlot::setAutoReplot(bool)'
qgsgpsinformationwidget.cpp:(.text+0x8e12): undefined reference to `QwtPolarPlot::setPlotBackground(QBrush const&)'
qgsgpsinformationwidget.cpp:(.text+0x8e94): undefined reference to `QwtPolarPlot::setScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0x8ec0): undefined reference to `QwtPolarPlot::setAzimuthOrigin(double)'
qgsgpsinformationwidget.cpp:(.text+0x8f0e): undefined reference to `QwtPolarPlot::setScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0x8f2b): undefined reference to `QwtPolarGrid::QwtPolarGrid()'
qgsgpsinformationwidget.cpp:(.text+0x8f49): undefined reference to `QwtPolarGrid::setGridAttribute(QwtPolarGrid::GridAttribute, bool)'
qgsgpsinformationwidget.cpp:(.text+0x8fa5): undefined reference to `QwtPolarGrid::setPen(QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0x9019): undefined reference to `QwtPolarGrid::setMinorGridPen(int, QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0x9036): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x9049): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x905c): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x906f): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x9082): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x9095): undefined reference to `QwtPolarGrid::showGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x90a8): undefined reference to `QwtPolarGrid::showGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x90bb): undefined reference to `QwtPolarGrid::showMinorGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0x90d2): undefined reference to `QwtPolarItem::attach(QwtPolarPlot*)'
CMakeFiles/qgis.dir/gps/qgsgpsinformationwidget.cpp.o: In function `QgsGPSInformationWidget::QgsGPSInformationWidget(QgsMapCanvas*, QWidget*, QFlags<Qt::WindowType>)':
qgsgpsinformationwidget.cpp:(.text+0xa6d2): undefined reference to `QwtPlot::QwtPlot(QWidget*)'
qgsgpsinformationwidget.cpp:(.text+0xa6ff): undefined reference to `QwtPlot::setAutoReplot(bool)'
qgsgpsinformationwidget.cpp:(.text+0xa760): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0xa799): undefined reference to `QwtPlot::setAxisScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0xa7dc): undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
qgsgpsinformationwidget.cpp:(.text+0xa868): undefined reference to `QwtPlotItem::setRenderHint(QwtPlotItem::RenderHint, bool)'
qgsgpsinformationwidget.cpp:(.text+0xa8a6): undefined reference to `QwtPlotCurve::setPen(QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0xa90a): undefined reference to `QwtPlotCurve::setBrush(QBrush const&)'
qgsgpsinformationwidget.cpp:(.text+0xa95b): undefined reference to `QwtPlot::enableAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xa978): undefined reference to `QwtPlot::enableAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xa99c): undefined reference to `QwtPlotItem::attach(QwtPlot*)'
qgsgpsinformationwidget.cpp:(.text+0xa9b8): undefined reference to `QwtPlotDict::setAutoDelete(bool)'
qgsgpsinformationwidget.cpp:(.text+0xaaab): undefined reference to `QwtPolarPlot::QwtPolarPlot(QWidget*)'
qgsgpsinformationwidget.cpp:(.text+0xaad8): undefined reference to `QwtPolarPlot::setAutoReplot(bool)'
qgsgpsinformationwidget.cpp:(.text+0xab30): undefined reference to `QwtPolarPlot::setPlotBackground(QBrush const&)'
qgsgpsinformationwidget.cpp:(.text+0xabb2): undefined reference to `QwtPolarPlot::setScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0xabde): undefined reference to `QwtPolarPlot::setAzimuthOrigin(double)'
qgsgpsinformationwidget.cpp:(.text+0xac2c): undefined reference to `QwtPolarPlot::setScale(int, double, double, double)'
qgsgpsinformationwidget.cpp:(.text+0xac49): undefined reference to `QwtPolarGrid::QwtPolarGrid()'
qgsgpsinformationwidget.cpp:(.text+0xac67): undefined reference to `QwtPolarGrid::setGridAttribute(QwtPolarGrid::GridAttribute, bool)'
qgsgpsinformationwidget.cpp:(.text+0xacc3): undefined reference to `QwtPolarGrid::setPen(QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0xad37): undefined reference to `QwtPolarGrid::setMinorGridPen(int, QPen const&)'
qgsgpsinformationwidget.cpp:(.text+0xad54): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xad67): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xad7a): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xad8d): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xada0): undefined reference to `QwtPolarGrid::showAxis(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xadb3): undefined reference to `QwtPolarGrid::showGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xadc6): undefined reference to `QwtPolarGrid::showGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xadd9): undefined reference to `QwtPolarGrid::showMinorGrid(int, bool)'
qgsgpsinformationwidget.cpp:(.text+0xadf0): undefined reference to `QwtPolarItem::attach(QwtPolarPlot*)'
CMakeFiles/qgis.dir/spatialite/qgsnewspatialitelayerdialog.cpp.o: In function `QgsNewSpatialiteLayerDialog::initializeSpatialMetadata(sqlite3*)':
qgsnewspatialitelayerdialog.cpp:(.text+0x2183): undefined reference to `spatial_ref_sys_init'
collect2: ld returned 1 exit status
make[2]: *** [output/bin/qgis] Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make: *** [all] Error 2



More information about the Qgis-user mailing list