[GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

Martin Landa landa.martin at gmail.com
Mon May 17 05:49:26 EDT 2010


Hi,

2010/5/16 Glynn Clements <glynn at gclements.plus.com>:

[...]

> Ideally, I'd like to do the same in 6.x in time for 6.4.0, so that we
> can forget that the SWIG version ever existed. The main issue there is
> the vdigit and nviz modules in the wxPython GUI (which don't work on
> Windows in any case). I haven't tried using ctypesgen for C++, though.

+1

BTW, compiling SWIG in trunk

ctypesgen.py -I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include
-L/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/lib
-L/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/lib
-lgrass_datetime
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include/grass/datetime.h
/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/include/grass/P_datetime.h
-o date.py
make[2]: ctypesgen.py: Command not found
make[2]: *** [date.py] Error 127
make[2]: Leaving directory `/usr/local/src/grass_trunk/lib/python/ctypes'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/grass_trunk/lib/python/ctypes'
make: *** [default] Error 2

Martin

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


More information about the grass-user mailing list