m (changed to reflect the CEGUI repository change from subversion to Mercurial) |
|||
| (6 intermediate revisions not shown.) | |||
| Line 5: | Line 5: | ||
[[Python Bindings]] | [[Python Bindings]] | ||
| - | [[http://www.byteshelter.org/wiki/CS_UserGuide/ | + | CrystalSpace User Guide: [[http://www.byteshelter.org/wiki/CS_UserGuide/]] |
TO REMOVE: [[CrystalSpace User Guide]] | 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 | ||
| + | |||
| + | *Note that CEGUI is now using Mercurial for their repository | ||
| + | |||
| + | hg clone http://crayzedsgui.hg.sourceforge.net/hgweb/crayzedsgui/cegui_mk2/file/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 | ||
Current revision
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
- Note that CEGUI is now using Mercurial for their repository
hg clone http://crayzedsgui.hg.sourceforge.net/hgweb/crayzedsgui/cegui_mk2/file/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
