[QGIS-trac] Re: [Quantum GIS] #1854: qgisinterpolator.cpp causing
build error on OS X
Quantum GIS
qgis at qgis.org
Tue Aug 4 16:09:27 EDT 2009
#1854: qgisinterpolator.cpp causing build error on OS X
-----------------------------------------------------+----------------------
Reporter: jctull | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: Build/Install | Version: HEAD
Resolution: | Keywords: qgisinterpolator mac
Platform_version: 10.5.7 | Platform: OS X
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by mhugent):
I think it is because qgstininterpolator.h includes
DualEdgeTriangulation.h and that includes MathUtlis.h (which includes
<cmath>).
Could you try to add the ifdef clause
#ifndef Q_OS_MACX
#include <cmath>
#else
#include <math.h>
to MathUtils.h and tell me if it works?
Marco
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1854#comment:9>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list