| 1 |
The Anti-Grain Geometry Project |
| 2 |
A high quality rendering engine for C++ |
| 3 |
http://antigrain.com |
| 4 |
|
| 5 |
Anti-Grain Geometry - Version 2.4 |
| 6 |
Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) |
| 7 |
|
| 8 |
Permission to copy, use, modify, sell and distribute this software |
| 9 |
is granted provided this copyright notice appears in all copies. |
| 10 |
This software is provided "as is" without express or implied |
| 11 |
warranty, and with no claim as to its suitability for any purpose. |
| 12 |
|
| 13 |
--------------------------------- |
| 14 |
|
| 15 |
Use automake to build the library. |
| 16 |
|
| 17 |
If automake is not available you still can use the old make. |
| 18 |
There is a very simple Makefile that can be used. Note that |
| 19 |
if you use automake it will overwrite Makefile. |
| 20 |
|
| 21 |
--------------------------------- |
| 22 |
|
| 23 |
If building on AmigaOS 4.0 or higher type the following for |
| 24 |
instructions on what targets are available. |
| 25 |
make -f Makefile.AmigaOS |
| 26 |
|
| 27 |
To just build and install AGG into the standard AmigaOS SDK |
| 28 |
ready for use type: |
| 29 |
make -f Makefile.AmigaOS install |
| 30 |
|
| 31 |
If you just want to build one demo (e.g. lion) use: |
| 32 |
make -f Makefile.AmigaOS bin/lion |
| 33 |
|
| 34 |
If you have any questions about the AmigaOS port please |
| 35 |
contact Steven Solie ([email protected]) for help. |
| 36 |
|
| 37 |
--------------------------------- |
| 38 |
|
| 39 |
To build all examples using SDL (Mac or Linux) just type: |
| 40 |
|
| 41 |
cd /examples/sdl |
| 42 |
make |
| 43 |
|
| 44 |
Individual examples can be built with |
| 45 |
|
| 46 |
make aa_test |
| 47 |
|
| 48 |
In the same way the native Carbon examples can be built with |
| 49 |
|
| 50 |
cd /examples/macosx_carbon |
| 51 |
make |
| 52 |
|
| 53 |
In both cases the static library will be built (if it was not already) |
| 54 |
from the existing global Makefile in /src/. |
| 55 |
|
| 56 |
The Makefiles for both SDL and Carbon will also attempt to download the |
| 57 |
required .bmp files if they are not found in the system for a given |
| 58 |
example. If the files could not be fetched (wget) the user will receive |
| 59 |
a message explaining where to download the samples from (sphere.bmp, |
| 60 |
etc.) Since all programs reside in the same directory there is no need |
| 61 |
to duplicate the .bmp files for each program that needs to use them. |
| 62 |
|
| 63 |
--------------------------------- |