Home - Forums - Documentation - Gallery - Bugs
Current revision (00:09, 17 April 2012) (edit) (undo)
m (changed to reflect the CEGUI repository change from subversion to Mercurial)
 
(17 intermediate revisions not shown.)
Line 3: Line 3:
This is for quickly scratching documentation that should later go to the manual. Feel free to add any stuff you think useful!
This is for quickly scratching documentation that should later go to the manual. Feel free to add any stuff you think useful!
-
* [[Python Bindings]]
+
[[Python Bindings]]
 +
CrystalSpace User Guide: [[http://www.byteshelter.org/wiki/CS_UserGuide/]]
-
<source lang="cpp">
+
TO REMOVE: [[CrystalSpace User Guide]]
-
class XYZ
+
-
{
+
-
private:
+
-
public:
+
-
};
+
-
</source>
+
-
Index
+
==Building CS on Ubuntu==
-
1. {{introduction#Introduction}}
+
With thanks to Nick_Meister
-
1.1 [introduction#CrystalSpace System Design]]
+
-
2. [[init#Initalize CrystalSpace]]
+
-
2.1 [[init#csApplicationFramework]]
+
-
2.2 [[init#csInitalizer]]
+
-
- [[virtualfilesystem#Understanding the Virtual File System (iVFS)]]
+
-
- [[config#Configuration]]
+
-
- [[config#Setup the VFS for configuration loading]]
+
-
- [[config#Setup the VFS for plugin configuration loading]]
+
-
- [[config#The iConfigManager]]
+
-
- [[event-handling#Event Handling]]
+
-
- [[event-handling#Introduction]]
+
-
- [[event-handling#EventHandler]]
+
-
- [[event-handling:output-events#Output Events]]
+
-
- [[event-handling:input-events#Input Events]]
+
-
- [[event-handling:input-events#Keyboard events]]
+
-
- [[event-handling:input-events#Mouse events]]
+
-
- [[event-handling:input-events#Joystick events]]
+
-
- [[plugins#Plugins]]
+
-
- [[plugins#Introduction]]
+
-
- [[plugins#overview]]
+
-
- [[plugins#Write own plugins]]
+
-
- [[world#The world]]
+
-
- [[world#Meshes and factories]]
+
-
- [[world#Loading Meshes]]
+
-
- [[world#Viewing the world]]
+
-
- [[world:lighting#Lighting]]
+
-
- [[world:lighting#Create lightmaps with ligher2]]
+
-
- [[memory-managment#Memory Managment]]
+
-
- [[debug-projects#Debug CS projects]]
+
-
- [[debug-projects#Plugins]]
+
-
- [[debug-projects#Helper classes]]
+
-
- [[igraphics3D#iGraphics3D]]
+
-
- [[igraphics3D#Introduction]]
+
-
- [[igraphics3D#Draw a simple circle]]
+
-
- [[igraphics3D:opengl#Details for OpenGL Programmers]]
+
-
- [[igraphics3D:opengl#Direct OpenGL Rendering]]
+
-
- [[write-own-scf-implementations#Writing own SCF implementations]]
+
-
====== Appendix ======
+
===Prepackaged dependancies===
-
- [[appendix:usefull-classes|Usefull classes]]
+
 
-
- [[appendix:usefull-classes#csstring|csString]]
+
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
-
- [[appendix:usefull-classes#csarray|csArray]]
+
 
-
- [[appendix:plugin-list|CrystalSpace Plugins]]
+
 
-
- [[appendix:event-list|CrystalSpace Events]]
+
===CEGUI===
-
- [[appendix:eventhandler-list|CrystalSpace EventHandler]]
+
 
-
- [[appendix:example-sourcecode|Example Sourcecode]]
+
apt-get install automake libtool libpcre3-dev libfreeimage-dev
-
- [[appendix:example-sourcecode#csApplicationFramework]]
+
 
-
- [[appendix:example-sourcecode#Configuration]]
+
*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!

Python Bindings

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

| Article | Discussion | View source | History |