[mapserver-users] nightly build: problem with mapscript

Markus Spring m.spring at gmx.de
Sun Apr 14 16:16:45 EDT 2002


Hi list,

the nightly build of April 14 returns the following error:

Type error in argument 1 of msSaveImage. Expected gdImagePtrPtr. at ms.pl line 22.

running this code (fragment)

my $img = $map->prepareImage();
...
mapscript::msSaveImage($img, '/tmp/example.gif', 1, $map->{transparent}, $map->{interlace}, 95);

mapscript was built with these options (and a gif enabled gd):

cc -c -I/build/server/mapserver_dev -I/build/server/mapserver_dev/../gd-1.8.4 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fpic -I/usr/lib/perl5/5.6.1/i586-linux/CORE -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR mapscript_wrap.c

Anything wrong with this code? Any help will be appreciated

Markus




More information about the mapserver-users mailing list