[GRASS-dev] [GRASS GIS] #364: Compiling QGIS from svn has a compiler error related to GRASS api

GRASS GIS trac at osgeo.org
Sun Nov 16 12:05:56 EST 2008


#364: Compiling QGIS from svn has a compiler error related to GRASS api
---------------------+------------------------------------------------------
 Reporter:  cgsbob   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.4.0                    
Component:  default  |     Version:  svn-trunk                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------
 Compiling QGIS 1.0 Preview 2 with Grass 6.4.svn on X86_64 Ubuntu Hardy
 Heron system gives me this compiler error:

 {{{
 [ 64%] Building CXX object
 src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
 /usr/local/grass-6.4.svn/include/grass/Vect.h: In static member function
 ‘static int QgsGrassProvider::openMap(QString, QString, QString,
 QString)’:
 /usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
 arguments to function ‘int Vect_build(Map_info*)’
 /home/bobm/src/gis/qgis_svn/src/providers/grass/qgsgrassprovider.cpp:1043:
 error: at this point in file
 /usr/local/grass-6.4.svn/include/grass/Vect.h: In member function
 ‘bool QgsGrassProvider::closeEdit(bool)’:
 /usr/local/grass-6.4.svn/include/grass/Vect.h:199: error: too many
 arguments to function ‘int Vect_build_partial(Map_info*, int)’
 /home/bobm/src/gis/qgis_svn/src/providers/grass/qgsgrassprovider.cpp:1522:
 error: at this point in file
 /usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
 arguments to function ‘int Vect_build(Map_info*)’
 /home/bobm/src/gis/qgis_svn/src/providers/grass/qgsgrassprovider.cpp:1523:
 error: at this point in file
 make[2]: ***
 [src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o] Error 1
 make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
 }}}
 I've already contacted the QGIS devs and they say it is likely a Grass
 problem.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/364>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list