[Qgis-developer] error in compiling (QWTPOLAR_INCLUDE_DIR)

Matthias Kuhn matthias at opengis.ch
Sun Feb 8 01:04:02 PST 2015


Hi Matteo,

What is the status of
WITH_QWTPOLAR
and
WITH_INTERNAL_QWTPOLAR

on Ubuntu you will probably have to set them both to TRUE or set
WITH_QWTPOLAR to FALSE (in which case, if you still experience troubles
you may have to delete the variables QWTPOLAR_INCLUDE_DIR and
QWTPOLAR_LIBRARY. Deleting these is not the same as setting them to OFF.)

Matthias

On 02/06/2015 11:07 AM, Matteo Ghetta wrote:
> Hi all,
> I'm not able to compile QGIS. It seems related with QWTPOLAR_INCLUDE_DIR.
> This is the error when configuring with ccmake:
>
>  CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND.
>  Please set them or make sure they are set and tested correctly in the
> CMake files:
>  QWTPOLAR_INCLUDE_DIR
>     used as include directory in directory
> /home/matteo/QGIS-master/src/app
>     used as include directory in directory
> /home/matteo/QGIS-master/src/app
>     used as include directory in directory
> /home/matteo/QGIS-master/src/app
>  QWTPOLAR_LIBRARY
>      linked by target "qgis" in directory /home/matteo/QGIS-master/src/app
>      linked by target "qgis_app" in directory
> /home/matteo/QGIS-master/src/app
>      linked by target "qgis_qgisappclipboard" in directory
> /home/matteo/QGIS-master/tests/src/app
>
>
>
> I tried also to set them as "OFF" but then I got an error with make:
>
>
>
> /home/matteo/QGIS/src/app/gps/qgsgpsinformationwidget.h:27:28: fatal
> error: qwt_polar_plot.h: No such file or directory
>  #include <qwt_polar_plot.h>
>                             ^
> compilation terminated.
> src/app/CMakeFiles/qgis.dir/build.make:1201: recipe for target
> 'src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o' failed
> make[2]: *** [src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o] Error 1
> CMakeFiles/Makefile2:2352: recipe for target
> 'src/app/CMakeFiles/qgis.dir/all' failed
> make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
> Makefile:147: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> Sure I'm missing something easy to fix, but I really don't know what..
>
> Thanks guys!
>
> Matteo
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150208/8a7c79f2/attachment.html>


More information about the Qgis-developer mailing list