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