Mapserver compilation flags should be added to the SWIG
szekerest at GMAIL.COM
Mon Aug 28 18:36:59 EDT 2006
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.
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 Morissette
More information about the mapserver-dev