Crystal Space 2.0.0: 2.4.2.3 Building Crystal Space

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

#### 2.4.2.3 Building Crystal Space

Now that all dependencies are setup, you can go ahead with the compilation of Crystal Space.

#### Configure and build the project

Download and unpack a source package of Crystal Space, either an official release from the website or a development version from Subversion.

Then open a new terminal, go to the directory where you unpacked Crystal Space, run the configuration script and build the entire project:

    ./configure
    jam

This is the end of the compilation process of Crystal Space. You can now try to run a test application such as `‘walktest’` or `‘startme’`.

You can also see more information on the available building options at the dedicated page.

#### Update your environment variables

This is not advised to do a `make install` for Crystal Space, since it can interfere with other installations you may have made previously. The dedicated way to deal with that problem is to define the CRYSTAL environment variable.

In order to do so, you can open your `‘~/.bashrc’` file and add the following new line at the end of it:

    export CRYSTAL=path_to_your_CS_directory

Also, since you haven't installed Crystal Space, your system will most probably have troubles finding its shared library files. To deal with that, you would need to add an entry in your `LD_LIBRARY_PATH` environment variable, so add also the following line to your `‘~/.bashrc’` file:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path_to_your_CS_directory

The changes you made to your `‘~/.bashrc’` file will only get available for the next terminals you would open. You may therefore prefer to close the terminals you have already opened in order to avoid getting problems with the environment variables not defined.

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

This document was generated using texi2html 1.76.