| platform | compiler | configuration name | ||
| LINUX 2.0.x | gcc 2.7.2.x | i686--linux-gcc | ||
| Mac OS X Server 1.0 | cc | rhapsody5 | ||
| NeXTSTEP 3.3 | cc | nextstep3 (note that it is only tested on Intel hardware!) | ||
| NeXTSTEP 3.3 | gcc 2.7.2.x | i386--nextstep3-gcc | ||
| IRIX 6.5 | gcc 2.7.2.x | mips--irix6.5-gcc-a |
| platform | compiler | configuration name | ||
| LINUX 2.0.x | gcc 2.7.2.x | ppc--linux-gcc |
| gnumake 3.75 or higher | (not necessary for nextstep3 and rhapsody5) |
| gcc 2.7.2.x | (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). |
bin/art-makefiles-get-ams
then make ART:
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 ('=').
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
ams
If 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.
This page is maintained by Robert F Tobler. It was last updated on September 24, 1999.
If you have any comments, please send a message to rft@cg.tuwien.ac.at.