[Qgis-developer] cmake error

Paolo Cavallini cavallini at faunalia.it
Tue Apr 17 15:34:37 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I'm using 6.3cvs.
With your modifications it works, thanks.
All the best.
pc

Martin Dobias ha scritto:
> I guess you're using GRASS from CVS and the API has changed - in my
> installation (grass 6.0.2) everything compiles well.
> 
> Try this: qgsgrass.h, line 166 and qgsgrass.cpp, line 350 - change
> 'char *msg' to 'const char *msg'
> 
> If that works for you, we'll commit it.
> 
> Martin
> 
> On 4/17/07, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Current svn does not compile here:
> 
> [ 69%] Building CXX object
> src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrass.o
> /home/buildpackage/qgis/src/providers/grass/qgsgrass.cpp: In static
> member function 'static void QgsGrass::init()':
> /home/buildpackage/qgis/src/providers/grass/qgsgrass.cpp:49: error:
> invalid conversion from 'int (*)(char*, int)' to 'int (*)(const char*,
> int)'
> /home/buildpackage/qgis/src/providers/grass/qgsgrass.cpp:49: error:
> initializing argument 1 of 'int G_set_error_routine(int (*)(const char*,
> int))'
> make[2]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrass.o]
> Error 1
> make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
> 
> Any suggestion?
> All the best.
> pc
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>>

- --
Paolo Cavallini
http://www.faunalia.it/pc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJSFM/NedwLUzIr4RAh5MAJ4m60wCJkkDo9u2LWNJudQezBpjmwCgp6IL
S58M/r0rUcijp95fkPAGHc8=
=mq6z
-----END PGP SIGNATURE-----



More information about the Qgis-developer mailing list