[mapserver-users] Error when compiling 3.7 with ming

Yewondwossen Assefa assefa at dmsolutions.ca
Thu Aug 22 11:32:47 PDT 2002


The main movie does not have any elements to display. It only contains Action
script codes with names of the movie layers generated. The idea is that you
will load the main movie in Flash and use the action script from the main movie
to load the layers that you want.

There is also now a mecanism to generate only one movie (raster output)
containg all the layers. The mecanisome used the new OUTPUTFORMAT object added
in 3.7 (part of the map object) . Below is an example of a map file using it :
specify FORMATOPTION "OUTPUT_MOVIE=SINGLE" for this kind of output.If not set
there will be one movie created per layer.

  NAME SWF
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
EXTENT -2200000 -712631 3072800 3840000
#EXTENT -150 40 -45 90
UNITS METERS
#UNITS DD
SHAPEPATH "../data"
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt
IMAGETYPE SWF
#IMAGETYPE PNG

  OUTPUTFORMAT
  NAME swf
  MIMETYPE "application/x-shockwave-flash"
  DRIVER swf
  IMAGEMODE PC256
  FORMATOPTION "OUTPUT_MOVIE=SINGLE"
#  FORMATOPTION "OUTPUT_MOVIE=MULTIPLE"
END
....

"Arthur, John" wrote:

> Is there a simple example map file in addition to the document at
> http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html?  I have
> successfully generated the swf files, but the "main" SWF file doesn't
> display the layers.  It is just blank.  However, the layer files do work
> individually.
>
> Thanks,
>
> John
>
> -----Original Message-----
> From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
> Sent: Wednesday, August 21, 2002 3:57 PM
> To: Arthur, John
> Cc: mapserver list
> Subject: Re: [mapserver-users] Error when compiling 3.7 with ming
>
> There is a new version of mapswf.c (r1.15) with the corrections.
>
> Later,
>
> "Arthur, John" wrote:
>
> > When compiling 3.7 with ming, I get this error:
> >
> > ------------------------------------------------------------------
> > gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ
> > -DUSE_PROJ_API_H
> > -DUSE_WMS  -DUSE_MING_FLASH  -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG
> > -DUSE_GD_JPEG -D
> > USE_GD_WBMP -DUSE_GD_FT -DUSE_PDF  -DUSE_OGR -DUSE_GDAL    -I/usr/include
> >   -I/usr/local/include -I/usr/local/include   -I/usr/include  mapswf.c -o
> > mapswf
> > .o
> > mapswf.c: In function `msDrawMarkerSymbolSWF':
> > mapswf.c:1299: request for member `red' in something not a structure or
> > union
> > mapswf.c:1299: request for member `green' in something not a structure or
> > union
> > mapswf.c:1299: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1301: request for member `red' in something not a structure or
> > union
> > mapswf.c:1301: request for member `green' in something not a structure or
> > union
> > mapswf.c:1301: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1304: request for member `red' in something not a structure or
> > union
> > mapswf.c:1304: request for member `green' in something not a structure or
> > union
> > mapswf.c:1304: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1319: request for member `red' in something not a structure or
> > union
> > mapswf.c:1319: request for member `green' in something not a structure or
> > union
> > mapswf.c:1319: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1358: request for member `red' in something not a structure or
> > union
> > mapswf.c:1358: request for member `green' in something not a structure or
> > union
> > mapswf.c:1358: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1360: request for member `red' in something not a structure or
> > union
> > mapswf.c:1360: request for member `green' in something not a structure or
> > union
> > mapswf.c:1360: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1376: request for member `red' in something not a structure or
> > union
> > mapswf.c:1376: request for member `green' in something not a structure or
> > union
> > mapswf.c:1376: request for member `blue' in something not a structure or
> > union
> > mapswf.c: In function `msDrawLineSymbolSWF':
> > mapswf.c:1595: request for member `red' in something not a structure or
> > union
> > mapswf.c:1595: request for member `green' in something not a structure or
> > union
> > mapswf.c:1595: request for member `blue' in something not a structure or
> > union
> > mapswf.c: In function `msDrawShadeSymbolSWF':
> > mapswf.c:1755: request for member `red' in something not a structure or
> > union
> > mapswf.c:1755: request for member `green' in something not a structure or
> > union
> > mapswf.c:1755: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1757: request for member `red' in something not a structure or
> > union
> > mapswf.c:1757: request for member `green' in something not a structure or
> > union
> > mapswf.c:1757: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1806: request for member `red' in something not a structure or
> > union
> > mapswf.c:1806: request for member `green' in something not a structure or
> > union
> > mapswf.c:1806: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1806: request for member `red' in something not a structure or
> > union
> > mapswf.c:1806: request for member `green' in something not a structure or
> > union
> > mapswf.c:1806: request for member `blue' in something not a structure or
> > union
> > mapswf.c: In function `draw_textSWF':
> > mapswf.c:1900: request for member `red' in something not a structure or
> > union
> > mapswf.c:1900: request for member `green' in something not a structure or
> > union
> > mapswf.c:1900: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1906: request for member `red' in something not a structure or
> > union
> > mapswf.c:1906: request for member `green' in something not a structure or
> > union
> > mapswf.c:1906: request for member `blue' in something not a structure or
> > union
> > mapswf.c:1912: request for member `red' in something not a structure or
> > union
> > mapswf.c:1912: request for member `green' in something not a structure or
> > union
> > mapswf.c:1912: request for member `blue' in something not a structure or
> > union
> > mapswf.c: In function `msDrawLabelCacheSWF':
> > mapswf.c:2015: warning: unused variable `classPtr'
> > make: *** [mapswf.o] Error 1
> > ------------------------------------------------------------------
> >
> > I have ming installed and working with PHP just fine.  Any clue to this
> > error?
> >
> > John Arthur
> > RF Technician
> > Office:   (757) 490-7221
> > Cellular: (757) 692-1515
> > Email: john.arthur at t-mobile.com
> > ·T···Mobile·
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056 (ext 14)
> Fax:   (613) 565-0925
> ----------------------------------------------------------------

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the MapServer-users mailing list