[Qgis-developer] Mac build error
Tim Sutton
tim at linfiniti.com
Mon Jun 12 22:35:58 EDT 2006
Hi Tom
My turn to tap your brain now :-) Im trying to build on my macbook.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I -I/sw/include -I/usr/local/
include -g -O2 -DQT3_SUPPORT -I/usr/local/Qt4.1.3/mkspecs/default -I/
usr/local/Qt4.1.3/lib/Qt3Support.framework/Headers -I/usr/local/
Qt4.1.3/lib/QtCore.framework/Headers -I/usr/local/Qt4.1.3/lib/
QtGui.framework/Headers -I/usr/local/Qt4.1.3/lib/QtNetwork.framework/
Headers -I/usr/local/Qt4.1.3/lib/QtOpenGL.framework/Headers -I/usr/
local/Qt4.1.3/lib/QtSql.framework/Headers -I/usr/local/Qt4.1.3/lib/
QtSvg.framework/Headers -I/usr/local/Qt4.1.3/lib/QtXml.framework/
Headers -I/usr/local/Qt4.1.3/include/QtDesigner -I/usr/local/Qt4.1.3/
include/QtTest -I/usr/local/Qt4.1.3/include -D_REENTRANT -
DQT_THREAD_SUPPORT -DNO_DEBUG -I../../widgets/projectionselector/ -
I../gui/ -I../legend/ -I../ui/ -I../core/ -g -O2 -MT
libqgis_raster_la-qgsrasterlayer.lo -MD -MP -MF .deps/
libqgis_raster_la-qgsrasterlayer.Tpo -c qgsrasterlayer.cpp -fno-
common -DPIC -o .libs/libqgis_raster_la-qgsrasterlayer.o
In file included from ../core/qgsfeature.h:28,
from ../gui/qgsclipboard.h:25,
from ../gui/qgisapp.h:50,
from qgsrasterlayer.cpp:107:
../core/qgsgeometry.h:22:18: error: geos.h: No such file or directory
../core/qgsgeometry.h:83: error: 'geos' has not been declared
../core/qgsgeometry.h:83: error: 'Geometry' has not been declared
../core/qgsgeometry.h:159: error: 'geos' has not been declared
../core/qgsgeometry.h:159: error: ISO C++ forbids declaration of
'Geometry' with no type
../core/qgsgeometry.h:159: error: expected ';' before '*' token
../core/qgsgeometry.h:167: error: 'geos' has not been declared
../core/qgsgeometry.h:167: error: ISO C++ forbids declaration of
'GeometryFactory' with no type
../core/qgsgeometry.h:167: error: expected ';' before '*' token
../core/qgsgeometry.h:189: error: 'geos' has not been declared
../core/qgsgeometry.h:189: error: ISO C++ forbids declaration of
'Geometry' with no type
../core/qgsgeometry.h:189: error: expected ';' before '*' token
../core/qgsgeometry.h:240: error: 'geos' has not been declared
../core/qgsgeometry.h:240: error: expected ',' or '...' before '*' token
../core/qgsgeometry.h:241: error: ISO C++ forbids declaration of
'CoordinateSequence' with no type
../core/qgsfeature.h:238: error: 'geos' has not been declared
../core/qgsfeature.h:238: error: ISO C++ forbids declaration of
'Geometry' with no type
../core/qgsfeature.h:238: error: expected ';' before '*' token
Its wierd because core built ok which includes that file, and /sw/
include (where geos.h) is in the g++ line above. I installed geos
from fink using apt-get.
Any ideas?
Thanks
Tim Sutton
tim at linfiniti.com
More information about the Qgis-developer
mailing list