[GRASS-dev] compile error on wx vdigit

I get the following error trying to compile wxpython vdigit:

~/SRC/GRASS/grass_trunk/gui/wxpython/vdigit$ make
c++ -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -g -O2 -fPIC -I/usr/include -I/usr/include/python2.4 -I/usr/include/python2.4 -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -DPACKAGE=\""grasslibs"\" -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -o OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o -c grass6_wxvdigit_wrap.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
grass6_wxvdigit_wrap.cpp: In function ‘PyObject* _wrap_DisplayDriver_UpdateSettings(PyObject*, PyObject*)’:
grass6_wxvdigit_wrap.cpp:11008: error: no matching function for call to ‘DisplayDriver::UpdateSettings(long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, int&)’
driver.h:210: note: candidates are: void DisplayDriver::UpdateSettings(long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long unsigned int, int)
make: *** [OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1

Any hints ?

Moritz

Hi,

cd gui/wxpython/vdigit
rm grass6*
make clean;make

Should help.

Martin

2008/7/8 Moritz Lennert <mlennert@club.worldonline.be>:

I get the following error trying to compile wxpython vdigit:

~/SRC/GRASS/grass_trunk/gui/wxpython/vdigit$ make
c++ -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -g
-O2 -fPIC -I/usr/include -I/usr/include/python2.4 -I/usr/include/python2.4
-fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__
-pthread -DPACKAGE=\""grasslibs"\"
-I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o -c grass6_wxvdigit_wrap.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
grass6_wxvdigit_wrap.cpp: In function 'PyObject*
_wrap_DisplayDriver_UpdateSettings(PyObject*, PyObject*)':
grass6_wxvdigit_wrap.cpp:11008: error: no matching function for call to
'DisplayDriver::UpdateSettings(long unsigned int&, bool&, long unsigned
int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long
unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&,
long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&,
bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned
int&, int&)'
driver.h:210: note: candidates are: void DisplayDriver::UpdateSettings(long
unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long
unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long
unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long
unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long
unsigned int, bool, long unsigned int, int)
make: *** [OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1

Any hints ?

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

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

On 08/07/08 19:04, Martin Landa wrote:

Hi,

cd gui/wxpython/vdigit
rm grass6*
make clean;make

Should help.

Yep. Thanks !

Moritz

Martin

2008/7/8 Moritz Lennert <mlennert@club.worldonline.be>:

I get the following error trying to compile wxpython vdigit:

~/SRC/GRASS/grass_trunk/gui/wxpython/vdigit$ make
c++ -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -g
-O2 -fPIC -I/usr/include -I/usr/include/python2.4 -I/usr/include/python2.4
-fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__
-pthread -DPACKAGE=\""grasslibs"\"
-I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o -c grass6_wxvdigit_wrap.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
grass6_wxvdigit_wrap.cpp: In function 'PyObject*
_wrap_DisplayDriver_UpdateSettings(PyObject*, PyObject*)':
grass6_wxvdigit_wrap.cpp:11008: error: no matching function for call to
'DisplayDriver::UpdateSettings(long unsigned int&, bool&, long unsigned
int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&, long
unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&, bool&,
long unsigned int&, bool&, long unsigned int&, bool&, long unsigned int&,
bool&, long unsigned int&, bool&, long unsigned int&, bool&, long unsigned
int&, int&)'
driver.h:210: note: candidates are: void DisplayDriver::UpdateSettings(long
unsigned int, bool, long unsigned int, bool, long unsigned int, bool, long
unsigned int, bool, long unsigned int, int)
make: *** [OBJ.i486-pc-linux-gnu/grass6_wxvdigit_wrap.o] Erreur 1

Any hints ?

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