[Mapserver-dev] RE: [Mapserver-users] problems compiling mapserver

Swaminathan, Gayathri gayathri at ou.edu
Thu Jul 10 10:32:18 EDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C346F0.10DE8620
Content-Type: text/plain

Hi:
All the changes you would need is in the  map.h in the <mapserver-dir>
#define MS_MAXCLASSES 50 (change this to your needs)
#define MS_MAXLAYERS 1000 /* maximum number of layers in a map file */
(change this to your needs)
 
You should be able to follow instructions to compile mapserver in win32 in
the mapserver site using the CL compiler, If you need a .dsw let me know,
but my .dsw is in VC++ 6.0 (can you import something in VC++ 7.0?).
 
What are your difficulties in compiling? Can you be more specific?
Thanks,
Gayathri
-----Original Message-----
From: Nuno Cabrita [mailto:nuno.cabrita at elementodigital.pt] 
Sent: Thursday, July 10, 2003 8:24 AM
To: mapserver-dev at lists.gis.umn.edu; mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] problems compiling mapserver


Hi there. I have a problem with map server. The values of MS_MAXLAYERS and
MS_MAXCLASSES are to low for my needs, so I guess I have to compile a new
version of the mapserver.
But I am having some problems in compiling windows version with Microsoft
Visual C++ 7 can anyone point me to a easy way to make the changes I need?
 

------_=_NextPart_001_01C346F0.10DE8620
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<TITLE>Message</TITLE>

<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml at 01C346F7.44A2C410" rel=3DFile-List><!--[if gte =
mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 3.0cm =
70.85pt 3.0cm; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; =
mso-paper-source: 0; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
	mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DPT style=3D"tab-interval: 35.4pt" vLink=3Dpurple =
link=3Dblue>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Hi:</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff size=3D2>All=20
the changes you would need is in the&nbsp; map.h in the=20
&lt;mapserver-dir&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>#define MS_MAXCLASSES 50 (change this to your =
needs)</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>#define MS_MAXLAYERS 1000 /* maximum number of layers in a map =
file */=20
(change this to your needs)</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
should be able to follow instructions to compile mapserver in win32 in =
the=20
mapserver site using the CL compiler, If you need a .dsw let me know,=20
</FONT></SPAN><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>but my .dsw is in VC++ 6.0 (can you import something in VC++=20
7.0?).</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff size=3D2>What=20
are your difficulties in compiling? Can you be more=20
specific?</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D559293915-10072003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Gayathri</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Nuno Cabrita=20
  [mailto:nuno.cabrita at elementodigital.pt] <BR><B>Sent:</B> Thursday, =
July 10,=20
  2003 8:24 AM<BR><B>To:</B> mapserver-dev at lists.gis.umn.edu;=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> =
[Mapserver-users]=20
  problems compiling mapserver<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: =
EN-GB">Hi=20
  there. I have a problem with map server. The values of MS_MAXLAYERS =
and=20
  MS_MAXCLASSES are to low for my needs, so I guess I have to compile a =
new=20
  version of the <SPAN=20
  class=3DSpellE>mapserver</SPAN>.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: =
EN-GB">But I am=20
  having some problems in compiling windows version with Microsoft =
Visual C++ 7=20
  can anyone point me to <SPAN class=3DGramE>a</SPAN> easy way to make =
the changes=20
  I need?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN =
lang=3DEN-GB=20
  style=3D"FONT-SIZE: 12pt; mso-ansi-language: =
EN-GB"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HT=
ML>

------_=_NextPart_001_01C346F0.10DE8620--



More information about the mapserver-dev mailing list