1 Instructions for building D2X for MinGW32
\r
2 -----------------------------------------
\r
6 First you will need SDL.
\r
7 Download the source code tarball from http://www.libsdl.org/
\r
8 Currently, it is SDL-1.2.3.tar.gz.
\r
10 tar zxf SDL-1.2.3.tar.gz
\r
16 Note that SDL.dll needs to be in your executable PATH, since that is
\r
17 where windows looks for dlls.
\r
18 I recommend copying it to /usr/local/bin:
\r
19 cp /usr/local/lib/SDL.dll /usr/local/bin
\r
21 If you need to run autogen.sh (e.g. to rebuild the configure scripts,
\r
22 or to build from cvs) sdl.m4 will have to be somewhere where aclocal
\r
24 You can fix this by setting the ACLOCAL_FLAGS variable like this:
\r
25 export ACLOCAL_FLAGS=/usr/local/share/aclocal
\r
27 You should also install NASM, for compiling assembler files. Download
\r
28 it from http://www.web-sites.co.uk/nasm/where.html and place nasmw.exe
\r
29 somewhere in your path (e.g. /usr/local/bin):
\r
30 unzip nasm-0.98-win32.zip
\r
31 mv nasmw.exe /usr/local/bin
\r
33 Now you can configure d2x as normal. i.e.
\r
36 ./configure --with-opengl
\r
38 automake/autoconf in cygwin has a problem with not always putting the
\r
39 .exe extentions where they need to be. So you may have to run make
\r
41 make && make d2x-sdl.exe
\r
43 make && make d2x-ogl.exe
\r
56 -Bradley Bell <bradleyb@u.washington.edu>
\r