Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…3221 c98d566b-fa28-4d4c-8a7b-932307ef5c1a
  • Loading branch information
rdg committed Aug 17, 2010
1 parent b2f2a8e commit 4c4b33e
Show file tree
Hide file tree
Showing 9 changed files with 838 additions and 95 deletions.
41 changes: 36 additions & 5 deletions src/HOW_TO_COMPILE_UNIX.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
At the time of this writing, DAPHNE will compile fully under these unix'ish
platforms:
- Ubuntu Linux version 10.04 (x86)
- i386 GNU/Linux (primary platform)
- i386 FreeBSD
- Sparc Solaris (untested)
Expand All @@ -14,26 +15,56 @@ STEP BY STEP INSTRUCTIONS:
- Make sure you have g++, make, and sed installed.

- Install these libraries (with headers) if you don't already have them:
SDL 1.2 (tested with 1.2.5, older versions may work fine)
SDL 1.2 (tested with 1.2.14, older versions may work fine)
SDL NOTE:
To have minimum hardware acceleration, SDL needs to be built with "xv" support.
"OpenGL" support is also recommended for better hardware acceleration.
Ogg Vorbis (libogg, libvorbis, libvorbisfile)
Zlib
GLEW (http://glew.sourceforge.net)

- Optional: If compiling SINGE then also install the following libraries:

SLD_image, SDL_ttf, libfreetype6-dev

- Now you are ready to compile. Daphne doesn't use the traditional
autoconf/automake nonsense. Instead, it uses a separate Makefile for
each platform. To compile under GNU/Linux, you
would type this (from the src directory):
each platform. To compile under GNU/Linux, open up a termianl window and
type this (from the src directory):

cp Makefile.vars.linux_x86 Makefile.vars
make

(You'd do something similar if you were compiling under the other platforms.)

- You also need to compile libvldp2.so which comes with DAPHNE and has its
own set of instructions inside the vldp2 directory. Go read those after
you're done here. :)
own set of instructions inside the vldp2 directory. When you get there
type:

chmod +x configure
./configure
make -f Makefile.linux

- If compiling SINGE then you also need to comple libsinge.so separately
before making Daphne. Go to the game/singe folder and type:

make -f Makefile.linux

- Once you got your libraries compiled then return to the main "src"
directory. Begin the compiling process by typing "make".

-----------------------------------------------------------------------------

An alternate way...

Go to the "src" folder and rename the appropriate Makefile.vars.linux_x??
to Makefile.vars. Open up a terminal window and type the following:

chmod +x buildme.sh
./buildme.sh


If everything goes correctly it should compile daphne with the vldp2
and singe libraries.

-----------------------------------------------------------------------------
Loading

0 comments on commit 4c4b33e

Please sign in to comment.