[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 2.3 External Libraries

Crystal Space may utilize several optional external, and publicly available development libraries. These libraries are:

- zlib
- libpng
- libjpeg
- Freetype2
- CG
- ODE
- Cal3D
- lib3ds
- Ogg/Vorbis
- libmng
- MikMod
- CEGUI
- CACA

Most of these libraries are optional. If you do not have them installed, then Crystal Space will still function, though features related to the missing libraries will be disabled. Despite being optional, at the very minimum, you should at least ensure that zlib, libpng, and libjpeg are installed since much useful functionality depends upon those libraries. Many computer systems come with these libraries pre-installed. If the libraries are not already available on your system, then see the following sections for information about how to obtain them.

### The "cs-win32libs" Package

Rather than having to install these components manually, Microsoft Visual C++ 7/7.1/8, MinGW/MSYS, and Cygwin users can download a single package which contains all common headers, pre-built library files, and dynamic link libraries in pre-compiled form from the following location:

http://www.crystalspace3d.org/support/win32/cs-win32libs-0.99r0_018.exe

### zlib

Crystal Space relies upon the `zlib` library for reading ZIP files, and for a few other uses. You can download `zlib` from:

http://www.gzip.org/zlib/

After downloading you can either install the package normally (i.e. ``make install'`) or unpack it into the directory ``CS/libs/zlib*'`. In general, if you have permission to do so, it is best to install the library.

### libpng

Crystal Space relies upon the `libpng` library for reading PNG graphic files. You can download `libpng` from:

http://www.libpng.org/pub/png/libpng.html

After downloading you can either install the package normally (i.e. ``make -f scripts/makefile.std install'`) or unpack it into the directory ``CS/libs/libpng*'`. In general, if you have permission to do so, it is best to install the library.

### libjpeg

Crystal Space relies upon the `libjpeg` library for reading JPEG graphic files. You can download `libjpeg` from:

http://www.ijg.org/files/

After downloading you can either install the package normally (i.e. ``make install'`) or unpack it into the directory ``CS/libs/jpeg*'`. In general, if you have permission to do so, it is best to install the library.

### Freetype2

Crystal Space can utilize the FreeType2 library to display TrueType fonts. You can get the latest version at:

http://www.freetype.org/

### CG

Many Crystal Space shaders require the CG library from nVidia. Crystal Space depends on the CG library with version number at least equal to 1.4. If you're on GNU/Linux then you probably will not find a package with that version available (latest stable on Gentoo is 1.2 for example) so you have to directly download this from http://developer.nvidia.com/object/cg_toolkit.html#downloads.

### ODE

Crystal Space contains a plugin providing physics through ODE. You can get the required latest CVS code at:

http://www.ode.org/

Note: You must compile ODE with OPCODE support enabled in order to use the library with Crystal Space.

### Ogg/Vorbis libraries

With this libraries you can use the Ogg/Vorbis sound plugin. You can get the latest version at:

http://www.vorbis.com/download.psp

### libmng

Crystal Space can optionally utilize the `libmng` library for reading MNG/JNG graphic files. You can download `libmng` from:

http://www.libmng.com/

After downloading you can either install the package normally (i.e. ``make install'`) or unpack it into the directory ``CS/libs/libmng*'`. In general, if you have permission to do so, it is best to install the library.

### CACA Colour AsCii Art Library

This library is used for 2D rendering in text mode. This is optional and only needed for fun. libcaca can be downloaded from:

http://sam.zoy.org/libcaca/

Maps: Needed if you want to see examples of Crystal Space at work. A few data files are provided in the Crystal Space release itself, but more can be downloaded from the ``maps'` subdirectory of each release. Most files can just be placed in the ``CS/data'` directory.

http://www.crystalspace3d.org/support/release/

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.