<HTML dir=ltr><HEAD><TITLE>Re: Build with debug</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText63989 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV id=idOWAReplyText68611 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hello Tamas</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>These are the settins I use, do you mean that this it should be correct? I have DEBUG ON on both root tag and on the specifc layer. Could the output be somewhere where I dont't see it? I use Mapscript in Visual studio, and I expected to see the ouput at the Debug/output window. </FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>*******************************************************</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2># Optimized, with using MSVCRT. </DIV>
<DIV dir=ltr>
<P>OPTFLAGS = /nologo /Ox /MD $(WARNING_LEVEL) $(DEBUG) /EHsc</P>
<P># Uncomment the following to link mapserv.exe with a dll. In almost </P>
<P># all cases you will want to do this.</P>
<P>DLLBUILD = 1</P>
<P># Set the Warning level for the compiler (defaults to W1)</P>
<P>WARNING_LEVEL=/W3</P>
<P>#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</P>
<P># Debugging Options</P>
<P>#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</P>
<P>ENABLE_STDERR_DEBUG=-DENABLE_STDERR_DEBUG</P>
<P># Set the linker debug option</P>
<P># LDEBUG=/debug</P>
<P># DEBUG Build flags</P>
<P># Set the DEBUG flag if you wish to make a debug build</P>
<P># DEBUG=/DDEBUG</P></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><FONT face=Arial size=2>*******************************************************</FONT></DIV></FONT>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Johan</FONT></DIV></DIV></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2><SPAN lang=SV style="FONT-SIZE: 10pt"><FONT face=Arial>___________________________________</FONT></SPAN></DIV></DIV>
<DIV id=idSignature86696 dir=ltr>
<DIV>
<DIV dir=ltr align=left>
<H3 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV><FONT face=Arial size=3>Johan Hallgren</FONT></SPAN></H3>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV></SPAN>&nbsp;</DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">WM-data</SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Pelle Bergs backe 3</SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"></SPAN><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Box 1938,&nbsp;791 19 Falun</SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-ansi-language: SV; mso-no-proof: yes">Tel (och mobil): 023-547&nbsp;46 (int: +46-2354746)</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-no-proof: yes"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV></SPAN><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"><U><FONT color=#0000ff>johan.e.hallgren</FONT></U><A href="mailto:johan.e.hallgren@wmdata.com" target=_blank>@wmdata.com</A></SPAN></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SV style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"><A href="https://webaccess.wmdata.com/exchweb/bin/redir.asp?URL=http://www.wmdata.se/" target=_blank>http://www.wmdata.se</A></SPAN></DIV></DIV></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> Tamas Szekeres [mailto:szekerest@gmail.com]<BR><B>Skickat:</B> to 2007-04-26 19:21<BR><B>Till:</B> Hallgren Johan E<BR><B>Kopia:</B> MAPSERVER-DEV@lists.umn.edu<BR><B>Ämne:</B> Re: Build with debug<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Johan,<BR><BR>You might have to compile with ENABLE_STDERR_DEBUG and use "DEBUG ON"<BR>in your map configuration.<BR>Verbose output is generated and sent to the standard error output (STDERR).<BR><BR>Best regards,<BR><BR>Tamas<BR><BR><BR>2007/4/26, Hallgren Johan E &lt;jhhal@wmdata.com&gt;:<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hello<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; I tries to build MapServer so I can see msDebug()-output. I expect to see<BR>&gt; the output in the VS-output window, or in the console running the program<BR>&gt; but I don't. Do I have to change some compiler directives that I have<BR>&gt; missed?<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; /Johan<BR>&gt;<BR>&gt;<BR>&gt; ___________________________________<BR>&gt; Johan Hallgren<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; WM-data a LogicaCMG company<BR>&gt;<BR>&gt;<BR>&gt; Pelle Bergs backe 3<BR>&gt;<BR>&gt;<BR>&gt; Box 1938, 791 19 Falun<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Tel: 023-547 46 (int: +46-2354746)<BR>&gt;<BR>&gt; Mobil: 070-588 44 28 (int: +46-705884428)<BR>&gt;<BR>&gt;<BR>&gt; johan.e.hallgren@wmdata.com<BR>&gt;<BR>&gt;<BR>&gt; <A href="http://www.wmdata.se/">http://www.wmdata.se</A><BR>&gt;<BR>&gt;<BR></FONT></P></DIV></BODY></HTML>