[GRASS-dev] Re: [GRASS-user] Vdigit

Hi,

2008/5/14 Benoit ANDRE <benoit.andre@bcgeol.be>:

SWIG Version 1.3.29

Compiled with g++ [i686-redhat-linux-gnu]

I remember I had some problems compiling wxvdigit with older versions
of swig in the past. Now I am using >= 1.3.31. Can you try to compile
with newer version of swig?

Martin

Le mercredi 14 mai 2008 à 16:51 +0200, Martin Landa a écrit :

Hi,

2008/5/14 Benoit ANDRE <benoit.andre@bcgeol.be>:

> Since 6-3.0.RC06, no more possible to compile vdigit. The error message is

which version of swig you are using?

swig -version

Martin

> .[benoit@slump vdigit]$ make
> c++
>
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> -g -O2 -fPIC -I/usr/local/include -I/usr/local/include/python2.5
> -I/usr/local/include/python2.5 -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O3
> -Wall -Wstrict-prototypes
-I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXDEBUG__ -D__WXGTK__ -pthread -DPACKAGE=\""grasslibs"\"
>
-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> -o OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o -c
grass6_wxvdigit_wrap.cpp
> cc1plus: attention : l'option de la ligne de commande
"-Wstrict-prototypes"
> est valide pour Ada/C/ObjC mais pas pour C++
> grass6_wxvdigit_wrap.cpp: In function 'int
> SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> grass6_wxvdigit_wrap.cpp:2051: erreur: invalid conversion from 'const
> char*' to 'char*'
> grass6_wxvdigit_wrap.cpp: In function 'void
> SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
> swig_type_info**)':
> grass6_wxvdigit_wrap.cpp:12866: erreur: invalid conversion from 'const
> char*' to 'char*'
> make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1
>
> The links /usr/local/lib/libgdi.so to
> /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so is good.
>
> I tried with various installations of wxWidget (enable or disable debug,
> enable or disable share), without success. Any idea ?
>
>
>
>
> Benoit ANDRE
> Géologue - Hydrologue ________________________________
>
>
>
>
>
>
> Bureau Conseil en Géologie
> Rue de Leuze, 433
> B-5300 VEZIN
> BELGIQUE
>
> Tél.: +32 81 58 26 11
> Fax.: +32 81 58 26 12
> Contacter...
> Bureau Conseil en Géologie ________________________________
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>

Benoit ANDRE
Géologue - Hydrologue ________________________________

Bureau Conseil en Géologie
Rue de Leuze, 433
B-5300 VEZIN
BELGIQUE

Tél.: +32 81 58 26 11
Fax.: +32 81 58 26 12
Contacter...
Bureau Conseil en Géologie ________________________________

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

Hi,

2008/5/14 Benoit ANDRE <benoit.andre@bcgeol.be>:

RIght.

I just installed SWIG Version 1.3.35. Now, every thing is OK.

for now I updated README file, to require swig >= 1.3.31 for vdigit component

http://trac.osgeo.org/grass/changeset/31348

Martin

Thanks,

Benoit.

Le mercredi 14 mai 2008 à 17:25 +0200, Martin Landa a écrit :

Hi,

2008/5/14 Benoit ANDRE <benoit.andre@bcgeol.be>:

SWIG Version 1.3.29

Compiled with g++ [i686-redhat-linux-gnu]

I remember I had some problems compiling wxvdigit with older versions
of swig in the past. Now I am using >= 1.3.31. Can you try to compile
with newer version of swig?

Martin

Le mercredi 14 mai 2008 à 16:51 +0200, Martin Landa a écrit :

Hi,

2008/5/14 Benoit ANDRE <benoit.andre@bcgeol.be>:

> Since 6-3.0.RC06, no more possible to compile vdigit. The error message
> is

which version of swig you are using?

swig -version

Martin

> .[benoit@slump vdigit]$ make
> c++
>

-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> -g -O2 -fPIC -I/usr/local/include -I/usr/local/include/python2.5
> -I/usr/local/include/python2.5 -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O3
> -Wall -Wstrict-prototypes
-I/usr/local/lib/wx/include/gtk2-unicode-debug-2.8
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXDEBUG__ -D__WXGTK__ -pthread -DPACKAGE=\""grasslibs"\"
>

-I/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/grass-6.4.svn_src_snapshot_2008_05_10/dist.i686-pc-linux-gnu/include
> -o OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o -c
grass6_wxvdigit_wrap.cpp
> cc1plus: attention : l'option de la ligne de commande
"-Wstrict-prototypes"
> est valide pour Ada/C/ObjC mais pas pour C++
> grass6_wxvdigit_wrap.cpp: In function 'int
> SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> grass6_wxvdigit_wrap.cpp:2051: erreur: invalid conversion from 'const
> char*' to 'char*'
> grass6_wxvdigit_wrap.cpp: In function 'void
> SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
> swig_type_info**)':
> grass6_wxvdigit_wrap.cpp:12866: erreur: invalid conversion from 'const
> char*' to 'char*'
> make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1
>
> The links /usr/local/lib/libgdi.so to
> /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so is
> good.
>
> I tried with various installations of wxWidget (enable or disable debug,
> enable or disable share), without success. Any idea ?
>
>
>
>
> Benoit ANDRE
> Géologue - Hydrologue ________________________________
>
>
>
>
>
>
> Bureau Conseil en Géologie
> Rue de Leuze, 433
> B-5300 VEZIN
> BELGIQUE
>
> Tél.: +32 81 58 26 11
> Fax.: +32 81 58 26 12
> Contacter...
> Bureau Conseil en Géologie ________________________________
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>

Benoit ANDRE
Géologue - Hydrologue ________________________________

Bureau Conseil en Géologie
Rue de Leuze, 433
B-5300 VEZIN
BELGIQUE

Tél.: +32 81 58 26 11
Fax.: +32 81 58 26 12
Contacter...
Bureau Conseil en Géologie ________________________________

Benoit ANDRE
Géologue - Hydrologue
________________________________

Bureau Conseil en Géologie
Rue de Leuze, 433
B-5300 VEZIN
BELGIQUE

Tél.: +32 81 58 26 11
Fax.: +32 81 58 26 12
Contacter...
Bureau Conseil en Géologie
________________________________

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *