[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] [ Search: ]

2.3 External Libraries

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

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.

If you need to install some of the libraries yourself pay attention to the versions states below.

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, all in versions known to work with this particular release of Crystal Space. You can obtain it from the following location:

http://www.crystalspace3d.org/downloads/cs-win32libs/cs-win32libs-1.2_002.exe

zlib

Version: 1.0 minimum

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

Version: 1.2.x minimum

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

Version: 6b minimum

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.

X Window System

This is needed to enable graphical output on a number of Unix-like operating systems, most prominently GNU/Linux. It is not needed for Windows or MacOS/X.

The exact installation procedure depends on the operating system/distribution you're using. If you are, what is likely, running a graphical desktop, the needed runtime components of the X Window System are installed and functioning on your system. However, development components (headers and libraries) may still have to be installed. It is outside the scope of this manual to detail how this is done on the various distributions and platforms, please refer to other resources for that.

OpenGL

OpenGL is needed to provide accelerated 3D graphics on all platforms.

No special effort is usually needed to install the development components on Windows or MacOS/X, as the various Development Kits for that platform generally contain the headers and libraries needed to utilize OpenGL.

For other platforms the exact installation procedure depends on the operating system/distribution you're using. While the runtime components are usually installed when a graphical desktop is used, development components may still have to be. It is outside the scope of this manual to detail how this is done on the various distributions and platforms, please refer to other resources for that.

Freetype2

Version: 2.1.x minimum

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

http://www.freetype.org/

CG

Version: 1.5 recommended

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 may not find a package with that version available, in this case you have to directly download this from http://developer.nvidia.com/object/cg_toolkit.html#downloads.

ODE

Version: 0.8 recommended

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

http://www.ode.org/

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

Bullet

Version: 1.9f recommended

Crystal Space can also provide physics through Bullet. You can get the required version at:

http://www.continuousphysics.com/

Cal3D

Version: 0.11.x required

Crystal Space supports skeletal animation using the Cal3D library. You can obtain the required version at:

https://gna.org/projects/cal3d/

lib3ds

Version: 1.2.0 recommended

Crystal Space has support for the popular 3ds model format using the lib3ds library. It is recommended that you use the 1.2.0 release.

http://lib3ds.sourceforge.net/

Ogg/Vorbis libraries

Version: 1.1.x recommended

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

Version: 1.0.9 recommended

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:

Version: 0.9 recommended

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

CEGUI

Version: 0.5.x required

Crystal Space uses CEGUI for some of it's own tool programs (e.g. ‘viewmesh’) but also allows external programs to utilize CEGUI for their user interface.

http://cegui.org.uk

wxWidgets

Version: 2.8.x recommended

Integration into wxWidgets is supported; a special canvas is provided that creates a WX window into which Crystal Space can render graphics. To compile this canvas, wxWidgets is required.

http://wxwidgets.org

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 ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html 1.76.