You are on page 1of 4

There's probably someone more experienced than me that could help, but I just used the primary install

file. I recently compiled Mednafen 0.8 on Windows. This is what I did. Hopefully it's helpful to you. -------** Cygwin <http://www.cygwin.com/setup.exe> ** Installed Cygwin making sure to choose Devel > make

** MinGW <http://sourceforge.net/projects/mingw/files/> ** Ran installer, installed to C:\MinGW Add C:\MinGW\bin to PATHS variable

** zlib <http://www.zlib.net/> ** Download zlib-1.2.4.tar.gz. # sh ./configure --prefix=c:/mingw # make install

** SDL <http://www.libsdl.org/download-1.2.php> ** Downloaded and extract SDL-devel-1.2.14-mingw32.tar.gz Edit bin/sdl-config: Change line prefix=/usr/local to prefix=c:/MinGW

Edit lib/libSDL.la: Change line libdir='/usr/lib' to libdir='c:/MinGW/lib'

Copy SDL directory contents into C:/MinGW (i.e. copy SDL/bin to C:/MinGW/bin, SDL/lib to C:/MinGW/lib, etc.)

** SDL_net <http://www.libsdl.org/projects/SDL_net/> **

Download SDL_net-1.2.7.tar.gz Edit configure: Change line SDL_VERSION=1.2.4 to current SDL version, e.g. SDL_VERSION=1.2.14

# CC=mingw32-gcc CXX=mingw32-g++ sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # mingw32-make # mingw32-make install

** libiconv <http://ftp.gnu.org/pub/gnu/libiconv/> ** Download libiconv-1.13.1.tar.gz # CC=mingw32-gcc CXX=mingw32-g++ sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # make # make install

** libcdio <http://ftp.gnu.org/pub/gnu/libcdio/> ** Download libcdio-0.82.tar.gz # CFLAGS="-DS_IWGRP=00020 -DS_IWOTH=00002 -DS_IFLNK=0120000 -DS_IFSOCK=0140000 -DS_ISUID=0004000 -DS_ISGID=0002000 -DS_ISVTX=0001000 -DS_IRGRP=00040 -DS_IXGRP=00010 -DS_IROTH=00004 -DS_IXOTH=00001 -O2 -Ic:/mingw/install/fake-include" CC=mingw32-gcc CXX=mingw32-g++ sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static --without-cd-drive --withoutcd-info --without-cd-paranoia --without-cdda-player --without-cd-read--without-iso-info --withoutiso-read # mingw32-make # mingw32-make install

** libogg <http://xiph.org/downloads/> ** Download libogg-1.2.0.tar.gz Edit configure: Add lines SIZE16="short"; USIZE16="unsigned short"; SIZE32="int";

USIZE32="unsigned int"; SIZE64="long long"; before if test -z "$SIZE16"; then

# sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # mingw32-make # mingw32-make install

** libvorbis <http://xiph.org/downloads/> ** Download libvorbis-1.3.1.tar.gz # sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # mingw32-make # mingw32-make install

** flac <http://xiph.org/downloads/> ** Download flac-1.2.1.tar.gz # sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # mingw32-make # mingw32-make install

** libsndfile <http://www.mega-nerd.com/libsndfile/> ** Download libsndfile-1.0.21.tar.gz # PKG_CONFIG=/usr/bin/pkg-config PKG_CONFIG_LIBDIR=c:/MinGW/lib/pkgconfig CC=mingw32-gcc CXX=mingw32-g++ ./configure --prefix=c:/MinGW --host=mingw32 --enableshared --disable-static --disable-alsa --disable-sqlite --disable-octave # PATH=c:/MinGW/bin:c:/MinGW/mingw32/bin:$PATH make # PATH=c:/MinGW/bin:c:/MinGW/mingw32/bin:$PATH mingw32-make install

** dx80_mgw <http://alleg.sourceforge.net/wip.html> ** Download dx80_mgw.zip Extract contents to c:/MinGW

** Mednafen ** # sh ./configure --prefix=c:/MinGW --host=mingw32 --enable-shared --disable-static # mingw32-make # mingw32-make install # cp c:/MinGW/bin/mednafen.exe .

You might also like