[Mapserver-users] SWF output with mapserver3.7

fx gamoy fx.gamoy at mapxplore.com
Wed Feb 19 05:03:05 PST 2003


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0033_01C2D817.3DC39330
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello=20
special thanks to D Morissette and Richard Greenwood
i ve finally compiled the nighty build with the gd2.011 successfully.
But when i try to take care about the ming library (php 4.2.3)  an error =
occur:
mapdraw.c : in function MsDrawVectorMLayer
mapdraw.c:617 : parse error before 'int'
mapdraw.c:656 : i undeclared
....
mapdraw.c:658 : 'colorbuffer' undeclared
any suggestion?
thnaks=20
fx gamoy
http://www.mapxplore.com/

  ----- Original Message -----=20
  From: Richard Greenwood=20
  To: fx gamoy=20
  Sent: Tuesday, February 18, 2003 5:55 PM
  Subject: Re: [Mapserver-users] output format with mapserver3.7


  At 06:24 PM 2/18/2003 +0000, you wrote:


    thanks for your request
    i have upgraded my gd library to 2.0.11
    then compiled php4.2.3 with this gd
    compiled mapscript with this gd and freetype 2
    everything seems to be ok
    MapScript Version ($Revision: 1.115 $ $Date: 2002/08/14 20:13:08 $)
    MapServer version 3.7 (development) OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP OUTPUT=3DSWF SUPPORTS=3DPROJ SUPPORTS=3DTTF INPUT=3DJPEG =
INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE
     but i have still the same error message
    call to undefined function : selectoutputformat()...

  It does not look like you really got GD2 in there. My 3.7 with GD2 =
looks like this:
  mapserv -v MapServer version 3.7 (development)=20
          OUTPUT=3DPNG=20
          SUPPORTS=3DPROJ=20
          SUPPORTS=3DGD2_RGB=20
          INPUT=3DPOSTGIS=20
          INPUT=3DOGR=20
          NPUT=3DGDAL=20
          INPUT=3DSHAPEFILE

  Notice the "SUPPORTS=3DGD2_RGB" in mine, which is absent from yours. =
Try a make clean and other appropriate steps to make sure that it is not =
finding a prior version of gd.

  Rich


  Richard W. Greenwood, PLS
  Greenwood Mapping, Inc.
  Rich at GreenwoodMap.com
  (307) 733-0203
  http://www.GreenwoodMap.com=20


------=_NextPart_000_0033_01C2D817.3DC39330
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>special thanks to D Morissette and =
Richard=20
Greenwood</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i ve finally compiled the nighty build =
with the=20
gd2.011 successfully.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But when i try to take care about the =
ming library=20
(php 4.2.3)  an error occur:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mapdraw.c : in function=20
MsDrawVectorMLayer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mapdraw.c:617 : parse error before=20
'int'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mapdraw.c:656 : i =
undeclared</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mapdraw.c:658 : 'colorbuffer'=20
undeclared</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>any suggestion?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thnaks </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx gamoy</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.mapxplore.com/">http://www.mapxplore.com/</A></FONT></=
DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DRich at GreenwoodMap.com =
href=3D"mailto:Rich at GreenwoodMap.com">Richard=20
  Greenwood</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dfx.gamoy at mapxplore.com=20
  href=3D"mailto:fx.gamoy at mapxplore.com">fx gamoy</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, February 18, =
2003 5:55=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users] =
output=20
  format with mapserver3.7</DIV>
  <DIV><BR></DIV>At 06:24 PM 2/18/2003 +0000, you wrote:<BR><BR>
  <BLOCKQUOTE class=3Dcite cite type=3D"cite"><FONT face=3Darial =
size=3D2>thanks for=20
    your request</FONT><BR><FONT face=3Darial size=3D2>i have upgraded =
my gd library=20
    to 2.0.11</FONT><BR><FONT face=3Darial size=3D2>then compiled =
php4.2.3 with this=20
    gd</FONT><BR><FONT face=3Darial size=3D2>compiled mapscript with =
this gd and=20
    freetype 2</FONT><BR><FONT face=3Darial size=3D2>everything seems to =
be=20
    ok</FONT><BR><FONT face=3D"Times New Roman, Times">MapScript Version =

    ($Revision: 1.115 $ $Date: 2002/08/14 20:13:08 $)<BR>MapServer =
version 3.7=20
    (development) OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DSWF =
SUPPORTS=3DPROJ=20
    SUPPORTS=3DTTF INPUT=3DJPEG INPUT=3DOGR INPUT=3DGDAL =
INPUT=3DSHAPEFILE</FONT><FONT=20
    face=3Darial size=3D2><BR> but i have still the same error=20
    message</FONT><BR><FONT face=3Darial size=3D2>call to undefined =
function :=20
    selectoutputformat()...</FONT></BLOCKQUOTE><BR>It does not look like =
you=20
  really got GD2 in there. My 3.7 with GD2 looks like this:<BR>mapserv =
-v=20
  MapServer version 3.7 (development)=20
  =
<BR><X-TAB>        </X-TAB>OUTPUT=
=3DPNG=20
  =
<BR><X-TAB>        </X-TAB>SUPPOR=
TS=3DPROJ=20
  =
<BR><X-TAB>        </X-TAB>SUPPOR=
TS=3DGD2_RGB=20
  =
<BR><X-TAB>        </X-TAB>INPUT=3D=
POSTGIS=20
  =
<BR><X-TAB>        </X-TAB>INPUT=3D=
OGR=20
  =
<BR><X-TAB>        </X-TAB>NPUT=3D=
GDAL=20
  =
<BR><X-TAB>        </X-TAB>INPUT=3D=
SHAPEFILE<BR><BR>Notice=20
  the "SUPPORTS=3DGD2_RGB" in mine, which is absent from yours. Try a =
make clean=20
  and other appropriate steps to make sure that it is not finding a =
prior=20
  version of gd.<BR><BR>Rich<BR><BR><X-SIGSEP>
  <P></X-SIGSEP><FONT face=3Darial>Richard W. Greenwood, =
PLS<BR>Greenwood Mapping,=20
  Inc.<BR>Rich at GreenwoodMap.com<BR>(307) 733-0203<BR><A=20
  href=3D"http://www.greenwoodmap.com/"=20
  eudora=3D"autourl">http://www.GreenwoodMap.com</A></FONT>=20
</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0033_01C2D817.3DC39330--





More information about the MapServer-users mailing list