Difference between revisions of "Compiling ScummVM/MinGW"

Jump to navigation Jump to search
Add extra libraries for Broken Sword 2.5
m (→‎Precompiled libraries: Whoops, Im not sure how I messed that up, apologies for anybody I inconvenienced.)
(Add extra libraries for Broken Sword 2.5)
Line 43: Line 43:


* [http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D NASM] Optional, for faster compile of scalers
* [http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D NASM] Optional, for faster compile of scalers
You need the latest Win32 binary ([http://www.nasm.us/pub/nasm/releasebuilds/2.07/win32/ 2.07] at the time of writing).
You need the latest Win32 binary ([http://www.nasm.us/pub/nasm/releasebuilds/2.09.04/win32/ 2.09.04] at the time of writing).


* [http://flac.sourceforge.net/download.html FLAC]. Optional, for FLAC support
* [http://flac.sourceforge.net/download.html FLAC]. Optional, for FLAC support
Line 55: Line 55:


* [http://www.zlib.net/ zlib]. Optional, for compressed saved games.
* [http://www.zlib.net/ zlib]. Optional, for compressed saved games.
You need the latest zlib source code.
You need the latest zlib source code.
 
* [http://libpng.org/pub/png/libpng.html libpng]. Optional, for Broken Sword 2.5.
You need the latest libpng source code.
 
* [http://downloads.xiph.org/releases/theora/ libtheora]. Optional, for Broken Sword 2.5.
You need the latest libtheora source code.


=== Precompiled libraries ===
=== Precompiled libraries ===
To ease the whole process, a package of all the needed precompiled libraries has been created.  
To ease the whole process, a package of all the needed precompiled libraries has been created.  
All you need to do is:
All you need to do is:
* Download the precompiled libraries and the [http://www.libsdl.org/release/SDL-1.2.12-win32.zip latest SDL runtime library] - latest version is 1.2.12 at the time this was written, you can find the latest version [http://www.libsdl.org/download-1.2.php here]. Precompiled libraries:
* Download the precompiled libraries and the [http://www.libsdl.org/release/SDL-1.2.14-win32.zip latest SDL runtime library] - latest version is 1.2.14 at the time this was written, you can find the latest version [http://www.libsdl.org/download-1.2.php here]. Precompiled libraries:
** [http://robertmegone.com/scummvm/build/scummvm-required-libs-mingw.zip Precompiled libraries]
** [http://robertmegone.com/scummvm/build/scummvm-required-libs-mingw.zip Precompiled libraries]


Line 193: Line 199:
  make install prefix=/mingw
  make install prefix=/mingw


=== libpng ===
Unzip the libpng archive in a folder, open MSYS, go to the libpng folder and issue these commands to compile the library:
./configure --disable-shared
make
To install the library, type:
make install prefix=/mingw
=== libtheora ===
Unzip the libtheora archive in a folder, open MSYS, go to the libtheora folder and issue these commands to compile the library:
./configure --disable-shared --disable-examples
make
To install the library, type:
make install prefix=/mingw


== Compiling ScummVM ==
== Compiling ScummVM ==
657

edits

Navigation menu