[Qgis-user] Re: problems building qgis 1.4.0

Marco Hugentobler marco at hugis.net
Tue Feb 23 07:51:14 PST 2010


Hi Neil

Does it help if you add

#include <cmath>

to src/app/qgsmaptoolrotatepointsymbols.cpp?
If it does, I'll add it to svn.

Regards,
Marco


Am Dienstag, 23. Februar 2010 16.30:41 schrieb Neil Best:
> Neil Best wrote:
> > No matter what I do in ccmake or what software I add to my build
> > environment make keeps bailing out with this:
> >
> > [ 40%] Building CXX object
> > src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.cpp.o
> > /home/nbest/src/qgis_1.4.0/src/app/qgsmaptoolrotatepointsymbols.cpp: In
> > member function ‘double
> > QgsMapToolRotatePointSymbols::calculateAzimut(const QPoint&)’:
> > /home/nbest/src/qgis_1.4.0/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
> > error: ‘atan2’ was not declared in this scope
> > /home/nbest/src/qgis_1.4.0/src/app/qgsmaptoolrotatepointsymbols.cpp:258:
> > error: ‘M_PI’ was not declared in this scope
> > /home/nbest/src/qgis_1.4.0/src/app/qgsmaptoolrotatepointsymbols.cpp: In
> > member function ‘void
> > QgsMapToolRotatePointSymbols::setPixmapItemRotation(double)’:
> > /home/nbest/src/qgis_1.4.0/src/app/qgsmaptoolrotatepointsymbols.cpp:307:
> > warning: passing ‘double’ for argument 1 to ‘void
> > QgsPointRotationItem::setSymbolRotation(int)’
> > make[2]: ***
> > [src/app/CMakeFiles/qgis.dir/qgsmaptoolrotatepointsymbols.cpp.o] Error 1
> > make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Can anyone tell what is causing this?  Thanks.
> 
> Also, when I run the configuration step in ccmake I see the warning "Python
> bindings disabled due to dependency problems!" in the status bar and then
> "Qt QTWEBKIT library not found." in a separate screen at the end.  I don't
> know which items these are associated with so that I can make adjustments.
> It still allows me to proceed to the generate step, so now I am trying to
> build rev 12965 to see if I can clear the error above.  Thanks for any
> comments.
> 
> Neil
> 

-- 
Dr. Marco Hugentobler
HUGIS GmbH
Webereistrasse 66
CH-8134 Adliswil
marco at hugis.net
http://homepage.hispeed.ch/hugis
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-user mailing list