On Thu, Oct 08, 2009 at 02:13:46AM +0100, Glynn Clements wrote: > > Yep, indeed it works with current testing swig. And it also fixes the > > problem > > issued for 3d view by other users. As said, it would be a good idea adding > > known working swig stuff to the source tarball, as gdal does. It is almost > > impossible having the same swig version installed on all systems and swig > > is a know source of problems... > > The other option is to abandon SWIG in favour of Python's ctypes > module. This is more work, but it's also more flexible, and will > produce a better result in the end. > > It may even be possible to automate the wrapper generation. While this > won't be perfect, neither is SWIG; any automatic approach has the > problem that a C prototype doesn't contain enough information. >
I opened a ticket #782 about that, just to leave trace of the problem. BTW, the wrapper generation _is_ automated by means of swig currently: that's exactly the problem here :) -- Francesco P. Lovergine _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
