Kyng Chaos
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.”
- the wisdom of Tarzan
Table of Contents

AGG Build

version: 2.4
source: http://antigrain.com/

Get the v2.4 source, it has a more permissive BSD license, v2.5 switched to the GPL. There are no critical changes in 2.5.

There is no configure script, configuration is done by editing a makefile. It is possible to generate a configure script, but the manual configuration is quite simple.

We don't add FreeType here, since MapServer compiles that source file itself.

There is no install step, since MapServer links AGG out of the AGG source folder.

Patches

All system builds need the following patch to fix an incomplete declaration – edit include/agg_basics.h and replace the line:

#define AGG_INT32U unsigned

with:

#define AGG_INT32U unsigned int

Leopard

Edit Makefile.in.Darwin and change the corresponding lines to:

AGGCXXFLAGS = -Os
CXX = g++ -arch ppc -arch i386 -arch ppc64 -arch x86_64
C = gcc -arch ppc -arch i386 -arch ppc64 -arch x86_64

Then, in a Terminal in the AGG source:

make

Tiger

Edit Makefile.in.Darwin and change the corresponding lines to:

AGGCXXFLAGS = -Os
CXX = g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
C = gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk

Then, in a Terminal in the AGG source:

make

Panther

Edit Makefile.in.Darwin and change the corresponding lines to:

AGGCXXFLAGS = -Os

Then, in a Terminal in the AGG source:

make
macosx/build/agg.txt · Last modified: 2009/03/01 08:34 by kyngchaos
Copyright © 2004-2010 William Kyngesburye Driven by DokuWiki Recent changes RSS feed