Ok, i figured it out, copy the "agg_font_freetype.cpp" from "\font_freetype"
to "\src", and then add "-I..\font_freetype" in line 10 in the Makefile.vc,
use the nmake command "nmake -f Makefile.vc agg.lib", but not "nmake -f
Makefile.vc all".

Cheers

Zhonghai

On 8/11/07, Zhonghai Wang <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I followed the instructions here:
>
> http://trac.osgeo.org/mapserver/ticket/2215
>
> to build AGG-2.4 with MSVC8, but i get an error message like:
>
> NMAKE : fatal error U1073: don't know how to make 'agg_font_freetype.obj'
>
> seems that the added obj in line 26 causes this error.
>
> I am using the make file downloaded from the aforementioned URL link,
> which is added by *jmckenna* on 08/10/07 08:52:06.
>
> Any hints for this error?
>
> Best Regards
>
> Zhonghai
>
> On 8/11/07, thomas bonfort < [EMAIL PROTECTED]> wrote:
> >
> > have you set IMAGETYPE AGG_PNG ?
> >
> > On 8/11/07, Steve Smith <[EMAIL PROTECTED] > wrote:
> > >
> > > The instructions below did not appear to help.
> > >
> > > 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.
> > >
> > > Steve
> > >
> > > *Stephen Woodbridge <[EMAIL PROTECTED] >* wrote:
> > >
> > > Ticket #2215: HowTo Build AGG with freetype support from sources,
> > > http://trac.osgeo.org/mapserver/ticket/2215
> > >
> > > Steve Smith wrote:
> > > > I am attempting to use AGG with mapserver-5.0.0-beta3. I am using
> > > the
> > > > following OUTPUTFORMAT statement in my .map file:
> > > >
> > > > OUTPUTFORMAT
> > > > NAME 'AGG_PNG'
> > > > DRIVER AGG/PNG
> > > > IMAGEMODE RGB
> > > > END
> > > >
> > > > Is this correct? The graphics do not look like AGG. Are there other
> > > > statements in the .map file that could result in the use of GD
> > > graphics?
> > > > I followed the explanations in:
> > > >
> > > > http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics
> > > >
> > > > but, still no success. Configuring and compiling mapserver was
> > > > successful. No errors occurred. I initially had a problem
> > > configuring
> > > > with AGG, using libraries in /usr producing the following error
> > > message:
> > > >
> > > > checking if AGG support requested... configure: error: "could not
> > > find
> > > > agg_rendering_buffer.h or libagg.a in /usr."
> > > >
> > > > I think this error was a result of my machine being 64 bit, which
> > > the
> > > > current beta versions does not recognize. Things worked after I
> > > changed
> > > > the directory to an AGG installation in /usr/local/agg.
> > > >
> > > > Steve
> > > >
> > > > Shape Yahoo! in your own image. Join our Network Research Panel
> > > today!
> > > >
> > > >
> > >
> > >
> > > ------------------------------
> > > Yahoo! oneSearch: Finally, mobile search that gives 
> > > answers<http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC>,
> > > not web links.
> > >
> > > ------------------------------
> > > Need a vacation? Get great deals to amazing places
> > > <http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ-->on
> > > Yahoo! Travel.
> > >
> > >
> >
>

Reply via email to