Open main menu

Difference between revisions of "Compiling ScummVM/MinGW"

m
Library links removed, typos fixed.
m (Solved a minor broken link.)
m (Library links removed, typos fixed.)
Line 22: Line 22:


==== Download ====
==== Download ====
'''Download''' and '''execute''' the MSYS2 bundle for your architecture: [https://sourceforge.net/projects/msys2/files/Base/x86_64/ 64-bit] or [https://sourceforge.net/projects/msys2/files/Base/i686/ 32-bit]
'''Download''' and '''execute''' the MSYS2 bundle for your architecture from [http://msys2.github.io/ here].  


==== Update the core of MSYS2 ====
==== Update the core of MSYS2 ====
Line 50: Line 50:
In order to compile properly the project utilizes Makefiles, which are build configuration files that the compiler uses to compile, link and solve dependencies. "make" is the software that runs the Makefiles.
In order to compile properly the project utilizes Makefiles, which are build configuration files that the compiler uses to compile, link and solve dependencies. "make" is the software that runs the Makefiles.


MSYS2 does not support make out of the box, but it has it's own implementation. Install it by typing:
MSYS2 does not support make out of the box, but it has its own implementation. Install it by typing:


<syntax type="bash">
<syntax type="bash">
Line 63: Line 63:
where <env> is the environment as previously stated, and <library> is the name of the library, as stated in the list (e.g. pacman -S mingw-w64-x86_64-SDL):
where <env> is the environment as previously stated, and <library> is the name of the library, as stated in the list (e.g. pacman -S mingw-w64-x86_64-SDL):


* [http://www.libsdl.org/download-1.2.php SDL] Mandatory.
* '''SDL''' Mandatory.


* [http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D nasm] Optional, for faster compile of scalers.
* '''nasm''' Optional, for faster compile of scalers.


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


* [http://downloads.xiph.org/releases/ogg/ libogg] and [http://downloads.xiph.org/releases/vorbis/ libvorbis] Optional, for OGG support.
* '''libogg''' and '''libvorbis''' Optional, for OGG support.


* [ftp://ftp.mars.org/pub/mpeg/ libmad] Optional, for MP3 support.
* '''libmad''' Optional, for MP3 support.


* [http://libmpeg2.sourceforge.net/ libmpeg2] Optional, for MPEG2 cutscene support.
* '''libmpeg2''' Optional, for MPEG2 cutscene support.


* [http://www.zlib.net/ zlib]. Optional, for compressed saved games.
* '''zlib'''. Optional, for compressed saved games.


* [http://downloads.xiph.org/releases/theora/ libtheora]. Optional, for Broken Sword 2.5.
* '''libtheora'''. Optional, for Broken Sword 2.5.


* [http://www.audiocoding.com/downloads.html libfaad2]. Optional, for AAC support.
* '''libfaad2'''. Optional, for AAC support.


* [http://www.libpng.org/pub/png/libpng.html libpng]. Optional, for PNG support.
* '''libpng'''. Optional, for PNG support.


* [http://download.savannah.gnu.org/releases/freetype/ freetype]. Optional, for TTF support.
* '''freetype'''. Optional, for TTF support.


* [http://sourceforge.net/apps/trac/fluidsynth fluidsynth]. Optional, for soundfont MIDI support.
* '''fluidsynth'''. Optional, for soundfont MIDI support.


=== Let's get compiling! ===
=== Let's get compiling! ===
6

edits