m (Fixed section headings) |
(→CS and CEL) |
||
| Line 60: | Line 60: | ||
cd CEL_latest/ | cd CEL_latest/ | ||
| - | ./configure enable-debug | + | ./configure --enable-debug |
jam | jam | ||
Revision as of 12:24, 24 November 2010
Contents |
Crystalspace Wiki Documentation
This is for quickly scratching documentation that should later go to the manual. Feel free to add any stuff you think useful!
CrystalSpace User Guide: [[1]]
TO REMOVE: CrystalSpace User Guide
Building CS on Ubuntu
With thanks to Nick_Meister
Prepackaged dependancies
sudo apt-get install build-essential jam subversion swig libjpeg62-dev libogg-dev libopenal-dev libasound2-dev libx11-dev python2.6-dev freeglut3-dev libgl1-mesa-dev zlib1g-dev libpng12-dev nvidia-cg-toolkit libmng-dev libghc6-openal-dev libxaw7-dev libxx87vm-dev libghc6-openal-dev libcairo2-dev libcairomm-1.0-dev libvorbis-dev speex libgtk2.0-dev libjackasyn-dev libcppunit-dev libwx11-dev libsdl1.2-dev libcucul-dev libcaca-dev libtemplate-perl libspeex-dev ant sun-java6-sdk doxygen
CEGUI
apt-get install automake libtool libpcre3-dev libfreeimage-dev
svn co https://crayzedsgui.svn.sourceforge.net/svnroot/crayzedsgui/cegui_mk2/branches/v0-7 cegui_mk2-0-7l
cd cegui_mk2-0-7/
./bootstrap
./configure --disable-xerces-c
make
sudo make install
Bullet
svn co http://bullet.googlecode.com/svn/trunk/ bullet-read-only
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebugInfo
make
sudo make install
CS and CEL
svn co https://crystal.svn.sourceforge.net/svnroot/crystal/CS/trunk CS_latest
cd CS_latest
./configure enable-debug
jam
cd ..
svn co https://cel.svn.sourceforge.net/svnroot/cel/cel/trunk CEL_latest
cd CEL_latest/
./configure --enable-debug
jam
Environment Variables
$CRYSTAL: The path in which you've built CS
$CEL: The same for CEL
$LD_LIBRARY_PATH=$CRYSTAL:$CEL:/usr/local/lib/
(CEGUI resides at /usr/local/lib/)
$PYTHONPATH: The path at which your CEL zips reside
