spatialindex/qgsspatialindex.cpp build errors

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

spatialindex/qgsspatialindex.cpp build errors

Tim Sutton
Hi

Still trying to get qgis trunk building on my reformatted Mac. Im
getting build errors with qspatial index. Complete log below. Martin
do you have any ideas?

Thanks

Tim

tims-computer:~/dev/cpp/qgis/build tim$ make
-- Found Proj: /Library/Frameworks/proj.framework
-- Found Sqlite3: /Library/Frameworks/sqlite3.framework
-- Found GEOS: /Library/Frameworks/geos.framework
-- Found GDAL: /Library/Frameworks/GDAL.framework/unix/lib/libgdal.dylib
-- Could not find PostgreSQL
-- Found Expat: /usr/local/lib/libexpat.dylib
-- Using GSL from /usr/local
-- Found GRASS: /Applications/GRASS.app/Contents/Resources (6.3.0-CVS-07012401)
-- Python libraries found
-- SIP not found!
-- Python bindings disabled due dependency problems!
-- Found Qt-Version 4.2.2
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/tim/dev/cpp/qgis/build
[  0%] Built target svnversion
[  0%] Generating ui_qgisappbase.h
[  0%] Generating ui_qgsabout.h
[  0%] Generating ui_qgsaddattrdialogbase.h
[  0%] Generating ui_qgsattributeactiondialogbase.h
[  0%] Generating ui_qgsattributedialogbase.h
[  0%] Generating ui_qgsattributetablebase.h
[  0%] Generating ui_qgsbookmarksbase.h
[  0%] Generating ui_qgscomposerbase.h
[  0%] Generating ui_qgscomposerlabelbase.h
[  0%] Generating ui_qgscomposermapbase.h
[  0%] Generating ui_qgscomposerpicturebase.h
[  0%] Generating ui_qgscomposerscalebarbase.h
[  0%] Generating ui_qgscomposervectorlegendbase.h
[  0%] Generating ui_qgscompositionbase.h
[  0%] Generating ui_qgscontinuouscolordialogbase.h
[  0%] Generating ui_qgscustomprojectiondialogbase.h
Warning: name tab is already used
[  0%] Generating ui_qgsdbsourceselectbase.h
[  0%] Generating ui_qgsdelattrdialogbase.h
[  0%] Generating ui_qgsfillstylewidgetbase.h
[  0%] Generating ui_qgsgeomtypedialogbase.h
[  0%] Generating ui_qgsgraduatedsymboldialogbase.h
[  0%] Generating ui_qgshelpviewerbase.h
[  0%] Generating ui_qgsidentifyresultsbase.h
[  0%] Generating ui_qgslabeldialogbase.h
[  0%] Generating ui_qgslayerprojectionselectorbase.h
[  0%] Generating ui_qgslinestyledialogbase.h
[  0%] Generating ui_qgslinestylewidgetbase.h
[  0%] Generating ui_qgsludialogbase.h
[  0%] Generating ui_qgsmarkerdialogbase.h
[  0%] Generating ui_qgsmeasurebase.h
[  0%] Generating ui_qgsmessageviewer.h
[  0%] Generating ui_qgsnewconnectionbase.h
[  0%] Generating ui_qgsnewhttpconnectionbase.h
[  0%] Generating ui_qgsoptionsbase.h
[  0%] Generating ui_qgspastetransformationsbase.h
[  0%] Generating ui_qgspatterndialogbase.h
[  0%] Generating ui_qgspgquerybuilderbase.h
[  0%] Generating ui_qgspluginmanagerbase.h
[  0%] Generating ui_qgspointstylewidgetbase.h
[  0%] Generating ui_qgsprojectionselectorbase.h
[  0%] Generating ui_qgsprojectpropertiesbase.h
[  0%] Generating ui_qgsrasterlayerpropertiesbase.h
[  0%] Generating ui_qgsserversourceselectbase.h
[  0%] Generating ui_qgssinglesymboldialogbase.h
[  0%] Generating ui_qgsuniquevaluedialogbase.h
[  0%] Generating ui_qgsvectorlayerpropertiesbase.h
[  0%] Generating ui_qgsvectorsymbologywidgetbase.h
[  0%] Generating ui_qgspythondialog.h
[  8%] Built target ui
[  9%] Generating moc_qgsrasterlayer.cxx
[  9%] Generating flex_qgssearchstringlexer.cpp
[  9%] Generating qgssearchstringparser.cpp
[ 10%] Generating moc_qgscontexthelp.cxx
[ 10%] Generating moc_qgscoordinatetransform.cxx
[ 10%] Generating moc_qgsdataprovider.cxx
[ 10%] Generating moc_qgshttptransaction.cxx
[ 10%] Generating moc_qgsmaplayer.cxx
[ 10%] Generating moc_qgsmaplayerregistry.cxx
[ 11%] Generating moc_qgsmaprender.cxx
[ 11%] Generating moc_qgsmessageoutput.cxx
[ 11%] Generating moc_qgsproject.cxx
[ 11%] Generating moc_qgsrasterdataprovider.cxx
[ 11%] Generating moc_qgsrunprocess.cxx
[ 11%] Generating moc_qgsvectorlayer.cxx
Scanning dependencies of target qgis_core
[ 11%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.o
[ 11%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsapplication.o
[ 11%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsattributeaction.o
[ 11%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsclipper.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgscontexthelp.o
[ 12%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgscoordinatetransform.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsdatasourceuri.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsdistancearea.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsexception.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsfeature.o
[ 13%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsfeatureattribute.o
[ 13%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsfield.o
[ 13%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsgeometry.o
[ 13%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsgeometryvertexindex.o
[ 13%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgshttptransaction.o
[ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgslabel.o
[ 14%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgslabelattributes.o
[ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsline.o
[ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgslogger.o
[ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmaplayer.o
[ 14%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsmaplayerregistry.o
[ 15%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmaprender.o
[ 15%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmaptopixel.o
[ 15%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmessageoutput.o
[ 15%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgspoint.o
[ 15%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsproject.o
/Users/tim/dev/cpp/qgis/src/core/qgsproject.cpp: In member function
'bool QgsProject::write()':
/Users/tim/dev/cpp/qgis/src/core/qgsproject.cpp:1014: warning: format
'%d' expects type 'int', but argument 2 has type 'size_t'
[ 15%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsprojectproperty.o
[ 16%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsprovidercountcalcevent.o
[ 16%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsproviderextentcalcevent.o
[ 16%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsprovidermetadata.o
[ 16%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsproviderregistry.o
[ 16%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsrasterdataprovider.o
[ 17%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsrect.o
[ 17%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsrunprocess.o
[ 17%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsscalecalculator.o
[ 17%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgssearchstring.o
[ 17%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgssearchtreenode.o
[ 17%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsspatialrefsys.o
[ 18%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsvectordataprovider.o
[ 18%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsvectorfilewriter.o
[ 18%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsvectorlayer.o
[ 18%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/raster/qgscolortable.o
[ 18%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/raster/qgsrasterlayer.o
[ 18%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/renderer/qgscontinuouscolorrenderer.o
[ 19%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/renderer/qgsgraduatedsymbolrenderer.o
[ 19%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/renderer/qgsrenderer.o
[ 19%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/renderer/qgssinglesymbolrenderer.o
[ 19%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/renderer/qgsuniquevaluerenderer.o
[ 19%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgslinesymbol.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgsmarkercatalogue.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgsmarkersymbol.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgspolygonsymbol.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgssymbol.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/symbology/qgssymbologyutils.o
[ 20%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:30:
error: expected class-name before '{' token
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:35:
error: expected ',' or '...' before '&' token
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:35:
error: ISO C++ forbids declaration of 'INode' with no type
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:37:
error: expected ',' or '...' before '&' token
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:37:
error: ISO C++ forbids declaration of 'IData' with no type
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: ISO C++ forbids declaration of 'type name' with no type
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: missing '>' to terminate the template argument list
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: template argument 1 is invalid
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: template argument 2 is invalid
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: expected ',' or '...' before '*' token
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:42:
error: 'void QgisVisitor::visitData(int)' and 'void
QgisVisitor::visitData(int)' cannot be overloaded
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'void QgisVisitor::visitData(int)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:39:
error: 'd' was not declared in this scope
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
constructor 'QgsSpatialIndex::QgsSpatialIndex()':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:52:
error: 'createNewMemoryStorageManager' is not a member of
'SpatialIndex::StorageManager'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:58:
error: 'createNewRandomEvictionsBuffer' is not a member of
'SpatialIndex::StorageManager'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:65:
error: 'RTree' has not been declared
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:65:
error: 'RTreeVariant' was not declared in this scope
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:65:
error: expected `;' before 'variant'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:69:
error: 'RTree' has not been declared
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:70:
error: 'variant' was not declared in this scope
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:70:
error: 'createNewRTree' was not declared in this scope
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
destructor 'QgsSpatialIndex::~QgsSpatialIndex()':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:75:
warning: possible problem detected in invocation of delete operator:
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:75:
warning: invalid use of undefined type 'struct
SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:24:
warning: forward declaration of 'struct SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:75:
note: neither the destructor nor the class-specific operator delete
will be called, even if they are declared when the class is defined.
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:76:
warning: possible problem detected in invocation of delete operator:
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:76:
warning: invalid use of undefined type 'struct
SpatialIndex::StorageManager::IBuffer'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:28:
warning: forward declaration of 'struct
SpatialIndex::StorageManager::IBuffer'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:76:
note: neither the destructor nor the class-specific operator delete
will be called, even if they are declared when the class is defined.
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:77:
warning: possible problem detected in invocation of delete operator:
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:77:
warning: invalid use of undefined type 'struct
SpatialIndex::IStorageManager'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:23:
warning: forward declaration of 'struct SpatialIndex::IStorageManager'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:77:
note: neither the destructor nor the class-specific operator delete
will be called, even if they are declared when the class is defined.
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'Tools::Geometry::Region
QgsSpatialIndex::rectToRegion(QgsRect)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:80:
error: return type 'struct Tools::Geometry::Region' is incomplete
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:87:
error: invalid use of undefined type 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:36:
error: forward declaration of 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'bool QgsSpatialIndex::featureInfo(QgsFeature&,
Tools::Geometry::Region&, long int&)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:97:
error: invalid use of undefined type 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:36:
error: forward declaration of 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'bool QgsSpatialIndex::insertFeature(QgsFeature&)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:103:
error: aggregate 'Tools::Geometry::Region r' has incomplete type and
cannot be defined
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:105:
error: no matching function for call to
'QgsSpatialIndex::featureInfo(QgsFeature&, <type error>, long int&)'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:90:
note: candidates are: bool QgsSpatialIndex::featureInfo(QgsFeature&,
Tools::Geometry::Region&, long int&)
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:109:
error: invalid use of undefined type 'struct
SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:24:
error: forward declaration of 'struct SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'bool QgsSpatialIndex::deleteFeature(QgsFeature&)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:116:
error: aggregate 'Tools::Geometry::Region r' has incomplete type and
cannot be defined
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:118:
error: no matching function for call to
'QgsSpatialIndex::featureInfo(QgsFeature&, <type error>, long int&)'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:90:
note: candidates are: bool QgsSpatialIndex::featureInfo(QgsFeature&,
Tools::Geometry::Region&, long int&)
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:122:
error: invalid use of undefined type 'struct
SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:24:
error: forward declaration of 'struct SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'QList<int> QgsSpatialIndex::intersects(QgsRect)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:130:
error: variable 'Tools::Geometry::Region r' has initializer but
incomplete type
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:130:
error: invalid use of undefined type 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:36:
error: forward declaration of 'struct Tools::Geometry::Region'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:132:
error: invalid use of undefined type 'struct
SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:24:
error: forward declaration of 'struct SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp: In
member function 'QList<int> QgsSpatialIndex::nearestNeighbor(QgsPoint,
int)':
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:145:
error: 'Point' is not a member of 'Tools::Geometry'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:145:
error: expected `;' before 'p'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:147:
error: invalid use of undefined type 'struct
SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.h:24:
error: forward declaration of 'struct SpatialIndex::ISpatialIndex'
/Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:147:
error: 'p' was not declared in this scope
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o]
Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2

--
--
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: [hidden email]
Yahoo: [hidden email]
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: spatialindex/qgsspatialindex.cpp build errors

Martin Dobias
On 2/4/07, Tim Sutton <[hidden email]> wrote:

>
> [...]
>
> [ 20%] Building CXX object
> src/core/CMakeFiles/qgis_core.dir/spatialindex/qgsspatialindex.o
> /Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:30:
> error: expected class-name before '{' token
> /Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:35:
> error: expected ',' or '...' before '&' token
> /Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:35:
> error: ISO C++ forbids declaration of 'INode' with no type
> /Users/tim/dev/cpp/qgis/src/core/spatialindex/qgsspatialindex.cpp:37:
> error: expected ',' or '...' before '&' token
> [...]

Hi Tim,

I guess Magnus had similar problem on windows and I think that changing
qgsspatialindex.cpp line 23 from
#include <SpatialIndex.h>
to
#include "SpatialIndex.h"

hope that helps!
Martin
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: spatialindex/qgsspatialindex.cpp build errors

epifanio
I'm having the same error using a recent git version.

I checked and i have the correct include line :

#include "SpatialIndex.h"

in the file :

qgsspatialindex.cpp