Ticket #364 (closed defect: fixed)
Compiling QGIS from svn has a compiler error related to GRASS api
| Reported by: | cgsbob | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.0 |
| Component: | Default | Version: | svn-trunk |
| Keywords: | Cc: | timlinux | |
| Platform: | Linux | CPU: | x86-64 |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

