Wod Installation
Downloading
Web:
Download from our webpage at wod.sourceforge.net in the FILES section
**NOTE: There is no difference between wod-x.x.tar.gz and wod-x.x.zip**
CVS:
You can also obtain the latest source from our CVS repository:
cvs -d:pserver:anonymous@cvs.wod.sourceforge.net:/cvsroot/wod login
cvs -z9 -d:pserver:anonymous@cvs.wod.sourceforge.net:/cvsroot/wod co wod
Required Libraries
You will need to download and install these libraries. Beside the library names are the file names of the libraries that the developers used. You can not install SDL_mixer with an rpm, src.rpm, or deb file. It must be recompiled because by default those those package formats the ogg music format is not included. Instructions for each file is below. All SDL and smpeg libaries can be linked to or found at www.libsdl.org. The ogg files are found at www.oggvorbis.org
- SDL 1.2.0 or greater - SDL-1.2.1-1.src.rpm
- SDL_image 1.2.0 or greater - SDL_image-1.2.0-1.i386.rpm
- SDL_image-devel 1.2.0 or greater - SDL_image-devel-1.2.0-1.i386.rpm
- libogg - libogg-1.0rc1-1.src.rpm
- libvorbis - libvorbis-1.0rc1-1.src.rpm
- SDL_mixer 1.2.0 or greater - SDL_mixer-1.2.0.tar.gz
- smpeg 0.4.3 or greater - smpeg-0.4.3-1.src.rpm
Here are the steps we (the developers) did to install these libraries. The i686 was the architecture of J.R.'s machine, and may vary for your box. On the ogg library install, on our Mandrake 8.0 system, there was a file conflict, so we simply added a --nodeps flag and it forced it in. Use at your own caution.
- SDL:
rpm --rebuild SDL-1.2.1-1.src.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/SDL-1.2.1-1.i686.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/SDL-devel-1.2.1-1.i686.rpm
- SDL_image:
rpm -Uvh SDL_image-1.2.0-1.i386.rpm
- SDL_image-devel:
rpm -Uvh SDL_image-devel-1.2.0-1.i386.rpm
- libogg:
rpm --rebuild libogg-1.0rc1-1.src.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/libogg-1.0rc1-1.i686.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/libogg-devel-1.0rc1-1.i686.rpm
- SDL_mixer:
tar xvfz SDL_mixer-1.2.0.tar.gz
cd SDL_mixer-1.2.0
./configure --prefix=/usr --enable-music-ogg
make
make install
- smpeg:
rpm --rebuild smpeg-0.4.3-1.src.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/smpeg-0.4.3-1.i686.rpm
rpm -Uvh /usr/src/RPM/RPMS/i686/smpeg-devel-0.4.3-1.i686.rpm
Installing: General
Linux:
A Linux executable named "wod" is located in the bin directory of WOD
TODO: Have a configure script for Makefiles
TODO: Have staticly linked executables so no compiling is neccesesary
Windows:
A Windows executable named "wod.exe" is located in the bin directory of WOD along with SDL.dll for running it
TODO: Have install program take care of our non-computer oriented Window's users :)
Installing: Developers
Linux:
1.Get the source(look above on how to download)
2.Get and install SDL library from www.libsdl.org
3.Unarchive WOD: tar zxvf wod-x.x.tar.gz
4.Move into root directory of WOD: cd wod-x.x
5.Run the Makefile: make
6.The executable is now in the bin directory of WOD
Windows:
1.Get the source(look above on how to download)
2.Get and install SDL library from www.libsdl.org **NOTE: Make sure SDL is installed in C:/sdl/**
3.Use Winzip or similar program to extract WOD: wod-x.x.zip
4.Move into root directory of WOD and open wod.dsw with MSVC++
5.Compile either debug or release version
6.The executable is now in the Release or Debug directory of WOD depending on your choice