[GRASS-dev] Re: [GRASS GIS] #308: Compiler error while building
python swig
GRASS GIS
trac at osgeo.org
Tue Sep 16 04:12:16 EDT 2008
#308: Compiler error while building python swig
----------------------------------+-----------------------------------------
Reporter: cgsbob | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: SWIG (all bindings) | Version: svn-develbranch6
Resolution: | Keywords: python swig
Platform: Unspecified | Cpu: Unspecified
----------------------------------+-----------------------------------------
Comment (by hamish):
Replying to [comment:19 glynn]:
> > First, I suggest replacing the contents of gis.i with
> > "%include <grass/gis.h>" and seeing if that actually causes any
> > errors. Ditto for all of the other interfaces/*.i files.
> Replying to [comment:13 glynn]:
> Okay; I've removed the swig/python/interfaces directory.
> python_grass7.i now includes the headers directly (I've also
> un-nested the structure definitions from the headers).
thanks for that, but the problem AFAICT was not nested headers, it's with
{{{
struct { "..." } a, b;
}}}
needing to be like:
{{{
struct { "..." } a;
struct { "..." } b;
}}}
?
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/308#comment:20>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list