[Qgis-developer] Compiling error / qwt problem

MORREALE Jean Roc jr.morreale at enoreth.net
Wed Oct 6 14:51:47 EDT 2010


Are you sure to have the requiered developpment headers installed 
(‎#locate qwt.h)?

Le 06/10/2010 20:38, Ziegler Stefan a écrit :
> Hi
>
> I'm having some problems with compiling r14344. Never compiled QGIS
> with QWT support but I guess it's not optional anymore. Compiling
> gives me the following errors:
>
> [ 70%] Built target python_module_qgis_analysis [ 70%] Built target
> python_module_qgis_gui Linking CXX executable qgis
> CMakeFiles/qgis.dir/qgsrasterlayerproperties.cpp.o: In function
> `QgsRasterLayerProperties::refreshHistogram()':
> /home/stefan/Develop/src/qgis_trunk/src/app/qgsrasterlayerproperties.cpp:1863:
> undefined reference to `QwtPlot::QwtPlot(QWidget*)'
> /home/stefan/Develop/src/qgis_trunk/src/app/qgsrasterlayerproperties.cpp:1865:
> undefined reference to `QwtPlotDict::setAutoDelete(bool)'
> /home/stefan/Develop/src/qgis_trunk/src/app/qgsrasterlayerproperties.cpp:1871:
> undefined reference to `QwtLegend::QwtLegend(QWidget*)'
> /home/stefan/Develop/src/qgis_trunk/src/app/qgsrasterlayerproperties.cpp:1871:
> undefined reference to `QwtPlot::insertLegend(QwtLegend*,
> QwtPlot::LegendPosition, double)' ... ... ...
> CMakeFiles/qgis.dir/gps/qwtpolar/moc_qwt_polar_panner.cxx.o:(.rodata._ZTI14QwtPolarPanner[typeinfo
> for QwtPolarPanner]+0x8): undefined reference to `typeinfo for
> QwtPanner' collect2: ld returned 1 exit status make[2]: ***
> [src/app/qgis] Error 1 make[1]: *** [src/app/CMakeFiles/qgis.dir/all]
> Error 2 make: *** [all] Error 2
>
> QWT_INCLUDE_DIR is set to /usr/include/qwt-qt4 and QWT_LIBRARY to
> /usr/lib/libqwt.so. I'm using Kubuntu 10.04. Thanks for any hints.
>
> regards Stefan




More information about the Qgis-developer mailing list