Ok, well first of all: Install Ubuntu
Well, maybe you already have done it
Then you have to install the driver of your 3D card. Nvidia or ATI?
After that ( ask if block here) you have to install all the packages needed to compile raydium and to compile anything in general.
Code:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libopenal0a libopenal-dev libogg0 libogg-dev libvorbis0a libvorbis-dev bison flex libcurl3-dev libglew-dev libalut-dev libjpeg62-dev cpp cpp-4.1 gcc freeglut3-dev libtool make sed subversion xorg-dev autoconf automake1.9 autotools-dev
It will ask your password.
Really i have included a few ones that maybe are not a must, but install them anyway.
Now you create a shinning folder to place raydium files.
Code:
mkdir raydium
Enter in the folder.
Code:
cd raydium
Now , download the last code from the SVN repository
Code:
svn checkout svn://raydium.org/raydium/trunk raydium
After a while, you have all the raydium code in that folder.
Now, is time to compile.
Code:
./configure
At this point, it will download ODE and PHP projects and it will compile them "by the face" internally. If something goes bad, you have to erase the downloaded files of ODE and PHP, they are inside subfolder "raydium", into "raydium".
Once the configure is ready we start the real compilation
Code:
make
Pray something...
Well, all finished and you can read at the end something like:
Code:
Files created: libraydium.a libraydium.so
That means that you have created you raydium libraries.
Now, to compile dynamically a file you can use
Code:
./odyncomp.sh filename.c
Or to compile it statically (this could be hard in some situations)
Code:
./ocomp.sh filename.c
The binary is, always, "test" (it overwrites each time).
Questions?