[GRASS-dev] compile error on wx vdigit

Moritz Lennert mlennert at club.worldonline.be
Tue Jul 8 13:01:42 EDT 2008


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


More information about the grass-dev mailing list