[GRASS-user] [grass-related failure when building qgis_0_11]

Sorry for forwarding this in the grass-user list. I must have
messed up somehow my grass-dev account or I don't know what... I can't
send anything to grass-dev(?).

Regards, Nikos

Nikos,

this has been fixed recently in QGIS trunk.

Markus

On Mon, Nov 24, 2008 at 6:24 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

Sorry for forwarding this in the grass-user list. I must have
messed up somehow my grass-dev account or I don't know what... I can't
send anything to grass-dev(?).

Regards, Nikos

---------- Forwarded message ----------
From: Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>
To: grass-dev@lists.osgeo.org
Date: Mon, 24 Nov 2008 07:49:10 +0100
Subject: grass-related failure when building qgis_0_11
Hi all! I get this error when building qgis 0.11 from source. I've read
the http://trac.osgeo.org/grass/ticket/364 ticket. Is it really fixed?

This problem does not occur when building qgis preview version.

------------------------------------------------------------------------
[...]
[ 71%] 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*)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1040: 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)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1495: 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*)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1496: 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
make: *** [all] Error 2
------------------------------------------------------------------------

Nikos

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/

On Mon, Nov 24, 2008 at 6:24 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

---------- Forwarded message ----------
From: Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>
To: grass-dev@lists.osgeo.org
Date: Mon, 24 Nov 2008 07:49:10 +0100
Subject: grass-related failure when building qgis_0_11
Hi all! I get this error when building qgis 0.11 from source. I've read
the http://trac.osgeo.org/grass/ticket/364 ticket. Is it really fixed?

This problem does not occur when building qgis preview version.

------------------------------------------------------------------------
[...]
[ 71%] 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*)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1040: 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)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1495: 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*)'
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1496: 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
make: *** [all] Error 2
------------------------------------------------------------------------

I have backported the needed GRASS provider changes from QGIS-trunk
to 0.11.svn and sent to the QGIS people for integration.

Markus

On Sat, 2008-11-29 at 18:26 +0100, Markus Neteler wrote:

On Mon, Nov 24, 2008 at 6:24 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:
> ---------- Forwarded message ----------
> From: Nikos Alexandris <nikos.alexandris@felis.uni-freiburg.de>
> To: grass-dev@lists.osgeo.org
> Date: Mon, 24 Nov 2008 07:49:10 +0100
> Subject: grass-related failure when building qgis_0_11
> Hi all! I get this error when building qgis 0.11 from source. I've read
> the http://trac.osgeo.org/grass/ticket/364 ticket. Is it really fixed?
>
> This problem does not occur when building qgis preview version.
>
> ------------------------------------------------------------------------
> [...]
> [ 71%] 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*)'
> /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1040: 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)'
> /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1495: 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*)'
> /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1496: 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
> make: *** [all] Error 2
> ------------------------------------------------------------------------

I have backported the needed GRASS provider changes from QGIS-trunk
to 0.11.svn and sent to the QGIS people for integration.

Markus

Thanks to Markus it works now :slight_smile:

Nikos