[QGIS-trac] Re: [Quantum GIS] #2634: Spatial Query Plugin source for avaliation

Quantum GIS qgis at qgis.org
Wed Apr 7 18:33:29 EDT 2010


#2634: Spatial Query Plugin source for avaliation
--------------------------------------------------------------+-------------
        Reporter:  lmotta                                     |         Owner:  timlinux     
            Type:  patch                                      |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.5.0
       Component:  C++ Plugins                                |       Version:  HEAD         
      Resolution:                                             |      Keywords:  Spatial Query
Platform_version:                                             |      Platform:  Debian       
        Must_fix:  No                                         |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by timlinux):

 Looks like some include paths are not configured in the cmakelists.txt:

 {{{
 In file included from
 /home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:30:
 /home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquery.h:25:29:
 error: qgsspatialindex.h: No such file or directory
 [ 55%] Building CXX object
 src/plugins/labeling/CMakeFiles/labelingplugin.dir/moc_labelinggui.cxx.o
 In file included from
 /home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquerydialog.cpp:30:
 /home/timlinux/dev/cpp/qgis/src/plugins/spatialquery/qgsspatialquery.h:152:
 error: ‘QgsSpatialIndex’ does not name a type
 Linking CXX shared module liblabelingplugin.so
 make[2]: ***
 [src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialquerydialog.cpp.o]
 Error 1
 make[1]: ***
 [src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 [ 56%] Built target labelingplugin
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2634#comment:1>
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