2009-05-02 23:03:37 +02:00
|
|
|
First of all if you are running a non-x86 machine this will not work,
|
|
|
|
code only works for big-endian machines for now :)
|
|
|
|
|
|
|
|
Things needed for compilation.
|
|
|
|
|
|
|
|
SDL
|
|
|
|
The Simple DirectMedia Library available at http://www.libsdl.org
|
|
|
|
|
|
|
|
Curses
|
|
|
|
If you want to enable the debugger you need a curses library.
|
|
|
|
ncurses should be installed on just about every unix distro.
|
|
|
|
For win32 get pdcurses at http://pdcurses.sourceforge.net
|
|
|
|
|
2009-05-02 23:20:05 +02:00
|
|
|
Libpng
|
|
|
|
Needed for the screenshots.
|
|
|
|
For win32 get libpng from http://www.sourceforge.net/projects/gnuwin32
|
|
|
|
|
|
|
|
Zlib
|
|
|
|
Needed by libpng.
|
|
|
|
For win32 get libz (rename to zlib) from http://www.sourceforge.net/projects/gnuwin32
|
|
|
|
|
|
|
|
|
2009-05-02 23:03:37 +02:00
|
|
|
If you want compile from the CVS under a unix system, you'll also need
|
2009-05-02 23:20:05 +02:00
|
|
|
automake (>=1.6), autoconf(>=2.50). Should be available at http://www.gnu.org
|
2009-05-02 23:03:37 +02:00
|
|
|
|
|
|
|
For building on unix systems.
|
|
|
|
If you are building from the cvs run ./autogen.sh first before doing the following.
|
|
|
|
|
|
|
|
1. ./configure
|
|
|
|
2. Check settings.h for some setup options.
|
|
|
|
3. make
|
|
|
|
|
2009-05-02 23:20:05 +02:00
|
|
|
Check the src subdir for the binary.
|
2009-05-02 23:03:37 +02:00
|
|
|
|
|
|
|
Compiling on FreeBSD might be a problem since SDL has no joystick support there.
|
|
|
|
To get around this edit sdlmain.cpp to enable some #define.
|
|
|
|
Let's hope someday the sdl people will just report 0 joysticks in freebsd or get it working some other way :)
|
|
|
|
|
|
|
|
|
|
|
|
Build instructions for VC++6
|
|
|
|
|
|
|
|
Open the workspace in the visualc subdir and build from there.
|
|
|
|
|