| OS | CPU | compiler | configuration name | ||
| LINUX 2.2.+ | Intel, PPC | gcc 2.95.+ | i686--linux-gcc, ppc--linux-gcc | ||
| IRIX 6.5 | MIPS | gcc 2.7.2.x | mips--irix6.5-gcc-a |
| platform | compiler | configuration name | ||
| Mac OS X Server 1.0 | cc | rhapsody5 | ||
| NeXTSTEP 3.3 | cc | nextstep3 (note that it is only tested on Intel hardware!) |
| gnumake 3.75 or later | (not necessary for nextstep3 and rhapsody5) |
| gcc 2.7.2. or later | (not necessary for nextstep3 and rhapsody5) |
| AMS | (not necessary for nextstep3 and rhapsody5) |
| zip 2.1 or later(info-zip) | as /usr/local/bin/zip (not strictly necessary) |
| unzip 5.2 or later(info-zip) | as /usr/local/bin/unzip (not strictly necessary) |
| libtiff 3.4beta037 or later | (not strictly necessary, but really recommended!)
If you have an earlyer version of this library, the TIFF LOGLUV
format will not be supported (this is very convenient if you
intend to use tonemapping on your output images). See
Removing TIFF LOGLUV support
for a detailed description on how to remove this file format
support. If you cannot at all get this library, see Removing TIFF library support for a detailed description on how to use ART without it. |
Fetch the corresponding packages from the net, install them, then proceed. In the following description we will use the command gnumake to refer to GNU make 3.75. Of course it may have any other convenient name (e.g. gmake).
Unpack the AMS archive (AMS.zip) [note that the package contains UNIX-specific soft-links, therefore unpacking under WINDOWS and copying the files makes the package unuseable] and set the following environment variables:
| AMS_DIR | The location of the AMS directory. |
| AMS_CONFIG | The machine, (vendor), and operating system, and compiler
configuration, e.g:
i386--nextstep3-gcc mips--irix6.5-gcc-a |
| AMS_TYPE | The colour type for which ART will be compiled. Currently
you have the following choices:
CIEXYZ Spectrum8 Spectrum16 Spectrum45 Spectrum450 |
For more information on AMS see $AMS_DIR/README.
Set the following environment variables:
| ART_DIR | The location of the ART directory |
| ART_CONFIG | This chooses the compiler/configuration for the 'art' and 'artist' scripts. Set this to the same value as AMS_CONFIG (if you are using NeXT's compiler on NeXTSTEP, set it to: nextstep3). |
OPTIONAL: If you also obtained the file ART-Scenes.zip you should cd to $(ART_DIR)/Apps/artist and unzip the file there. This should result in a directory $(ART_DIR)/Apps/artist/scene with various subdirectories containing additional scenes.
Cd to $ART_DIR and make ART using the following command:
gnumake --silent -f Makefile.ams AMS_MAKEFILE_NAME=Makefile.ams
You might want to make an alias for this command by putting:
alias ams='gnumake -s -f Makefile.ams AMS_MAKEFILE_NAME=Makefile.ams'
into your shell startup file. In sh, bash, and zsh, you can use the
alias command as shown above, in csh or tcsh use a blank (' ')
instead of the equal sign ('='). Afterwards you will be able to use just
ams instead of the long winded sequence.
If you get a compilation error in ArfTIFF.m, you need to either remove TIFF LOGLUV support, or remove TIFF support alltogether.
bin/art-makefiles-get-rhapsody5
Now you have to set up the environment for ProjectBuilder. In order
to do that you have to create a ~/.OpenStep/environment
file with the following contents:
{
"SHELL" = "/bin/sh";
"ART_DIR" = "<your $ART_DIR>";
"ART_CONFIG" ="rhapsody5";
"ART_TYPE" = "<your colourtype (see $AMS_TYPE above)>";
}
After creating this file you have to log out and back in again, so
that the Workspace passes these variables to ProjectBuilder.
Then you can open $ART_DIR/Libs/PB.project and build all ART libraries. Afterwards open $ART_DIR/Apps/artist/src/PB.project and build the artistapplication (the ART command line renderer).
bin/art-makefiles-get-nextstep3
Then open $ART_DIR/PB.project, and build the complete ART
libraries.
ArfTIFF.m: In function `arftifftype': ArfTIFF.m:150: `PHOTOMETRIC_LOGLUV' undeclared (first use this function) ArfTIFF.m:150: (Each undeclared identifier is reported only once ArfTIFF.m:150: for each function it appears in.) ArfTIFF.m: In function `_i_ArfTIFF__open': ArfTIFF.m:204: `TIFFTAG_STONITS' undeclared (first use this function) ArfTIFF.m:286: `TIFFTAG_SGILOGDATAFMT' undeclared (first use this function) ArfTIFF.m:286: `SGILOGDATAFMT_FLOAT' undeclared (first use this function) ArfTIFF.m: In function `_i_ArfTIFF__open_': ArfTIFF.m:579: `PHOTOMETRIC_LOGLUV' undeclared (first use this function) ArfTIFF.m:582: `COMPRESSION_SGILOG' undeclared (first use this function) ArfTIFF.m:611: `TIFFTAG_SGILOGDATAFMT' undeclared (first use this function) ArfTIFF.m:611: `SGILOGDATAFMT_FLOAT' undeclared (first use this function)You can remove the support for this special TIFF format by removing the comment from the following line:
#define _ART_WITHOUT_TIFFLOGLUV_
in $ART_DIR/Libs/Image/ArfTiff.h.
#define _ART_WITHOUT_TIFFLIB_
in $ART_DIR/Libs/Image/ArfTiff.h. Then remove the line
-ltiff \from $ART_DIR/Makefile.globals before recompiling the code (if you are using AMS).
If you are using the NeXT's ProjectBuilder, you have to remove the tiff entry in the section Files/Libraries in the projects $ART_DIR/Apps/artist/src/PB.project and $ART_DIR/Apps/tonmeap/src/PB.project
In this case it will not be possibe to create tiff files!
ams
To recompile the artist program with the newly built library, change
to $ART_DIR/Apps/artist/src, then
amsIf you are using NeXTSTEP and NeXT's c-compiler, open $ART_DIR as folder (Cmd-Shift-O in Workspace). Then you will have the projects of all ART libraries available on the shelf of the new file viewer. Double-click and build any single library.
export ART_ARCHIVE_DIR=<the directory where you want your archive>
export ART_PACKAGE_DIR=<the directory where you want your package>
If you have set up these variables you can use:
ams archive
or
ams package
to create an archive or a package. The difference between these two features
is, that only one package is left in the package directory, whereas the
last 4 archives will be maintained in the archive directory. Usually the
archive feature is used for normal backup, and the package feature is
used for creating a new ART distribution. You can selectively exclude files
from either of these two backups by setting the corresponding variables in
$ART_DIR/Makefile.ams.
ART / Documentation / Installation
This page is maintained by Alexander Wilkie. It was last updated on October 6, 2000.