==================================================== Building and Installing Cal3D ==================================================== The Cal3D Team (February 22, 2003) ---------------------------------------------------- Table of Contents - Win32 Installation - Build System Dependencies - Basic Installation - Some Useful Configuration Options - Configuration Examples - Installation Locations - Important Note for IRIX Users ---------------------------------------------------- -------------------- Win32 Installation -------------------- Those wishing to build the Cal3D library on Win32 platforms can use the included Visual Studio project files. Cal3D is known to work properly with Visual Studio 6 and Visual Studio .NET. ------------------------- Build System Dependencies ------------------------- To configure and build the Cal3D library, you need the following tools: GNU Autoconf 2.50 or newer GNU Automake 1.9 or newer The source packages can be found at: ftp://ftp.gnu.org/gnu/autoconf ftp://ftp.gnu.org/gnu/automake ------------------ Basic Installation ------------------ Cal3D uses GNU's autobuild tools in order to allow users to build the library from source using the same methods on a wide variety of platforms. The simplest way to compile this package is: 1. In the top-level directory of the cal3d package, run `autoreconf --install --force' to automatically generate the configuration scripting files. 2. Type `./configure' to configure the package for your system. Running `configure' takes a while. While running, it prints some messages telling which features it is checking for. See below for more info on configuring Cal3D. 3. Type `make' to compile the package. 4. Type `make install' to install the library and header files into the appropriate location. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. The `autoreconf' script will run the autotools for you and create the configure script and Makefile.in files, which will be used during the build process. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). --------------------------------- Some Useful Configuration Options --------------------------------- When using the `configure' script, you might want to use some of the optional flags to change various aspects of the build and installation. Below are some of the most commonly-used options. --prefix=