Ok, i figured it out, copy the &quot;agg_font_freetype.cpp&quot; from &quot;\font_freetype&quot; to &quot;\src&quot;, and then add &quot;-I..\font_freetype&quot; in line 10 in the <a href="http://Makefile.vc">Makefile.vc</a>
, use the nmake command &quot;nmake -f <a href="http://Makefile.vc">Makefile.vc</a> agg.lib&quot;, but not &quot;nmake -f <a href="http://Makefile.vc">Makefile.vc</a> all&quot;.<br><br>Cheers<br><br>Zhonghai<br><br><div><span class="gmail_quote">
On 8/11/07, <b class="gmail_sendername">Zhonghai Wang</b> &lt;<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br><br>I followed the instructions here:<span class="q"><br><br><a href="http://trac.osgeo.org/mapserver/ticket/2215" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://trac.osgeo.org/mapserver/ticket/2215
</a><br><br></span>to build AGG-2.4 with MSVC8, but i get an error message like: 
<br><br>NMAKE : fatal error U1073: don&#39;t know how to make &#39;agg_font_freetype.obj&#39;<br><br>seems that the added obj in line 26 causes this error.<br><br>I am using the make file downloaded from the aforementioned URL link, which is added by 
<em>jmckenna</em> on 08/10/07 08:52:06.<br><br>Any hints for this error?<br><br>Best Regards<br><span class="sg"><br>Zhonghai</span><div><span class="e" id="q_11455525b1fce39a_4"><br><br><div><span class="gmail_quote">On 8/11/07, 
<b class="gmail_sendername">thomas bonfort</b> &lt;<a href="mailto:thomas.bonfort@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
thomas.bonfort@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">have you set IMAGETYPE AGG_PNG ?<div><span>
<br><br><div><span class="gmail_quote">On 8/11/07, <b class="gmail_sendername">Steve Smith</b> &lt;<a href="mailto:ssteve52@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ssteve52@yahoo.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The instructions below did not appear to help. <br><br>I tried installing the 32bit agg libraries into /usr/lib using the fedora package manager, and then re-configed and compiled mapserver. I was able to compile mapserver, but unfortunately the graphics still appear to be GD.
<br><br>Steve<div><span><br><br><b><i>Stephen Woodbridge &lt;<a href="mailto:woodbri@SWOODBRIDGE.COM" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">woodbri@SWOODBRIDGE.COM
</a>&gt;</i></b> wrote:<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">   Ticket #2215: HowTo Build AGG with freetype support from sources, <br><a href="http://trac.osgeo.org/mapserver/ticket/2215" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://trac.osgeo.org/mapserver/ticket/2215</a><br><br>Steve Smith wrote:<br>&gt; I am attempting to use AGG with mapserver-5.0.0-beta3. I am using the <br>&gt; following OUTPUTFORMAT statement in my .map file:<br>&gt; <br>


&gt; OUTPUTFORMAT<br>&gt;   NAME &#39;AGG_PNG&#39;<br>&gt;   DRIVER AGG/PNG<br>&gt;   IMAGEMODE RGB<br>&gt; END<br>&gt; <br>&gt; Is this correct?  The graphics do not look like AGG. Are there other <br>&gt; statements in
 the .map file that could result in the use of GD graphics? <br>&gt; I followed the explanations in:<br>&gt; <br>&gt; <a href="http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics</a><br>&gt; <br>&gt; but, still no success. Configuring and compiling mapserver was <br>&gt; successful. No errors occurred. I initially had a problem configuring 
<br>&gt; with AGG, using libraries in /usr producing the following error message:<br>&gt; <br>&gt; checking if AGG support requested... configure: error: &quot;could not find <br>&gt; agg_rendering_buffer.h or libagg.a in /usr.&quot;
<br>&gt; <br>&gt; I think this error was a result of my machine being 64 bit, which the <br>&gt; current beta versions does not recognize. Things worked after I changed <br>&gt; the directory to an AGG installation in /usr/local/agg.
<br>&gt; <br>&gt; Steve<br>&gt; <br>&gt; Shape Yahoo! in your own image. Join our Network Research Panel today! <br>&gt;  <br>&gt; <br></blockquote><br></span></div><span><p> 
      </p><hr size="1">Yahoo! oneSearch: Finally, <a href="http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


 mobile search 
that gives answers</a>, not web links. 

<p> 
      </p><hr size="1">Need a vacation? <a href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


Get great deals 
to amazing places </a>on Yahoo! Travel. <p></p><p></p></span></blockquote></div><br>
</span></div></blockquote></div><br>
</span></div></blockquote></div><br>