[Qgis-developer] Compiling error / qwt problem

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Wed Oct 6 14:38:19 EDT 2010


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