Mapserver compilation flags should be added to the SWIG
command line
Tamas Szekeres
szekerest at GMAIL.COM
Mon Aug 28 18:36:59 EDT 2006
Daniel,
I think when switching DUSE_POINT_Z_M on and the z and m members of
the pointObj are missing for a particular binding there's something
need to be done for that binding.
For C# i had to add $(FLAGS) /Makefile.in/ or $(CFLAGS) /Makefile.vc/
to the SWIG command line.
Tamas
2006/8/28, Daniel Morissette <dmorissette at mapgears.com>:
> Tamas Szekeres wrote:
> > Folks,
> >
> > Currently most of the SWIG bindings does not add mapserver compilation
> > flags to the
> > SWIG command line and therefore the interface might not be generated
> > properly.
> > For example missing -DUSE_POINT_Z_M will prevent from generating z and m
> > members
> > for pointObj etc.
> >
> > I've added a bug for this issue:
> > http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1881
> >
> > And fixed for C#
> >
>
> Does something need to be done for this for the other wrappers? There
> used to be a 'mapscriptvars' file with all the compile flags used by the
> Perl Makefile. Is this not used by the other bindings?
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
>
More information about the mapserver-dev
mailing list