Hi,
Every time Ubuntu is upgraded I run into troubles with qwt. Now I upgraded to Ubuntu Wily and compile fails because of some qwt issue. I get: --------------------- [ 31%] Built target pycore CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o: In function `QgsRasterHistogramWidget::refreshHistogram()': /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:358: undefined reference to `QwtPlot::insertLegend(QwtAbstractLegend*, QwtPlot::LegendPosition, double)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:362: undefined reference to `QwtPlot::setAxisAutoScale(int, bool)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:513: undefined reference to `QwtPlotHistogram::QwtPlotHistogram(QString const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:516: undefined reference to `QwtPlotHistogram::setPen(QPen const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:518: undefined reference to `QwtPlotHistogram::setBrush(QBrush const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:584: undefined reference to `QwtPlotCurve::setSamples(QVector<QPointF> const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:589: undefined reference to `QwtPlotHistogram::setSamples(QVector<QwtIntervalSample> const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:631: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:633: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:640: undefined reference to `QwtPlotPicker::QwtPlotPicker(QWidget*)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:645: undefined reference to `QwtPickerDragPointMachine::QwtPickerDragPointMachine()' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:657: undefined reference to `QwtPlotZoomer::QwtPlotZoomer(QWidget*, bool)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:659: undefined reference to `QwtPickerDragRectMachine::QwtPickerDragRectMachine()' CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o: In function `QgsRasterHistogramWidget::histoSaveAsImage(QString const&, int, int, int)': /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:717: undefined reference to `QwtPlotRenderer::QwtPlotRenderer(QObject*)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:719: undefined reference to `QwtPlotRenderer::setDiscardFlags(QFlags<QwtPlotRenderer::DiscardFlag>)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:720: undefined reference to `QwtPlotRenderer::setLayoutFlags(QFlags<QwtPlotRenderer::LayoutFlag>)' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:724: undefined reference to `QwtPlotRenderer::render(QwtPlot*, QPainter*, QRectF const&) const' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:717: undefined reference to `QwtPlotRenderer::~QwtPlotRenderer()' /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:717: undefined reference to `QwtPlotRenderer::~QwtPlotRenderer()' CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o: In function `findClosestTickVal(double, QwtScaleDiv const*, int)': /home/an/dev/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:1068: undefined reference to `QwtScaleDiv::upperBound() const' CMakeFiles/qgis_gui.dir/symbology-ng/qgsgraduatedhistogramwidget.cpp.o: In function `QgsGraduatedHistogramWidget::QgsGraduatedHistogramWidget(QWidget*)': /home/an/dev/QGIS/src/gui/symbology-ng/qgsgraduatedhistogramwidget.cpp:61: undefined reference to `QwtPlotPicker::QwtPlotPicker(QWidget*)' /home/an/dev/QGIS/src/gui/symbology-ng/qgsgraduatedhistogramwidget.cpp:65: undefined reference to `QwtPickerDragPointMachine::QwtPickerDragPointMachine()' CMakeFiles/qgis_gui.dir/qgshistogramwidget.cpp.o: In function `QgsHistogramWidget::drawHistogram()': /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:200: undefined reference to `QwtPlot::setAxisAutoScale(int, bool)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:201: undefined reference to `QwtPlot::setAxisAutoScale(int, bool)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:256: undefined reference to `QwtPlotHistogram::setSamples(QVector<QwtIntervalSample> const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:286: undefined reference to `QwtPlotHistogram::setSamples(QVector<QwtIntervalSample> const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:296: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:309: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:321: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:330: undefined reference to `QwtPlotMarker::QwtPlotMarker(QString const&)' CMakeFiles/qgis_gui.dir/qgshistogramwidget.cpp.o: In function `QgsHistogramWidget::createPlotHistogram(QString const&, QBrush const&, QPen const&) const': /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:347: undefined reference to `QwtPlotHistogram::QwtPlotHistogram(QString const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:348: undefined reference to `QwtPlotHistogram::setBrush(QBrush const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:351: undefined reference to `QwtPlotHistogram::setPen(QPen const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:359: undefined reference to `QwtPlotHistogram::setPen(QPen const&)' /home/an/dev/QGIS/src/gui/qgshistogramwidget.cpp:363: undefined reference to `QwtPlotHistogram::setPen(QPen const&)' collect2: error: ld returned 1 exit status src/gui/CMakeFiles/qgis_gui.dir/build.make:13492: recipe for target 'output/lib/libqgis_gui.so.2.13.0' failed make[2]: *** [output/lib/libqgis_gui.so.2.13.0] Error 1 CMakeFiles/Makefile2:395: recipe for target 'src/gui/CMakeFiles/qgis_gui.dir/all' failed make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 ------------------ I have the following qwt packages installed: libqwt-headers libqwt-qt5-6 libqwt5-qt4 libqwt5-qt4-dev libqwtplot3d-qt4-0v5 libqwtplot3d-qt4-dev python-qwt5-qt4 ----------------------- My ccmake settings are: QWTPOLAR_INCLUDE_DIR emtpy QWTPOLAR_LIBRARY empty QWT_INCLUDE_DIR /usr/include/qwt QWT_LIBRARY /usr/lib/libqwt-qt4.so WITH_INTERNAL_QWTPOLAR OFF WITH_QWTPOLAR OFF ---------------------- Anyone knows what I need to do, to be able to compile again? Do I really have to install qwt6 manually? Note that I am not interested in GPS, histograms, etc. Could I just turn off all that qwt stuff? Thanks, Andreas
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer