Introduction to agg

The Anti-Grain Geometry (AGG) package contains a general purpose C++ graphical toolkit. It can be used in many areas of computer programming where high quality 2D graphics is an essential part of the project.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

agg Dependencies


SDL-1.2.15 and Xorg Libraries

User Notes:

Installation of agg

Install agg by running the following commands:

sed -i 's:  -L@x_libraries@::' src/platform/X11/ &&
sed -i '/^AM_C_PROTOTYPES/d'                 &&

bash --prefix=/usr --disable-static &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i 's: -L@x_libraries@::' src/platform/X11/ This fixes compiling with the current Xorg Libraries.

sed -i '/^AM_C_PROTOTYPES/d' this fixes reconfiguring with the current version of automake.

bash This script uses autotools to create the configure script, then it runs configure with the given arguments.

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: None
Installed Libraries:,,, and
Installed Directory: /usr/include/agg2

Short Descriptions

contains the AGG API functions.

contains the AGG freetype font API functions.

contains the AGG SDL API functions that.

contains the AGG LibX11 API functions.

Last updated on 2014-08-24 15:52:32 -0700