271
edits
Ccawley2011 (talk | contribs) |
Ccawley2011 (talk | contribs) |
||
Line 27: | Line 27: | ||
* [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.15.03/win32/ v2.15.03] at the time of writing). | ** You need the latest Win32 binary ([http://www.nasm.us/pub/nasm/releasebuilds/2.15.03/win32/ v2.15.03] at the time of writing). | ||
* [https://cmake.org/ CMake]. Optional, for compiling libjpeg-turbo. | |||
** You need the latest Win32 installer. | |||
* [https://xiph.org/flac/download.html FLAC]. Optional, for FLAC support | * [https://xiph.org/flac/download.html FLAC]. Optional, for FLAC support | ||
Line 120: | Line 123: | ||
=== NASM === | === NASM === | ||
Unzip the nasm archive in a folder, and copy both files to MinGW's bin directory. | |||
=== pkg-config-lite === | |||
Unzip the pkg-config-lite archive in a folder, and copy the "bin" and "share" to MinGW's root directory. | |||
=== SDL === | === SDL === | ||
Line 141: | Line 148: | ||
=== libogg === | === libogg === | ||
libogg should be compiled before libvorbis and libFLAC | libogg should be compiled before libvorbis, libtheora and libFLAC. | ||
Unzip the libogg archive in a folder, open MSYS, go to the libogg folder and issue these commands to compile and install the library: | Unzip the libogg archive in a folder, open MSYS, go to the libogg folder and issue these commands to compile and install the library: | ||
Line 160: | Line 168: | ||
=== libmad === | === libmad === | ||
Unzip the libmad archive in a folder | Unzip the libmad archive in a folder, open MSYS, go to the libmad folder If you are using gcc 4.4 or higher, run the following command: | ||
sed -i '/-fforce-mem/d' configure | sed -i '/-fforce-mem/d' configure | ||
Line 171: | Line 179: | ||
=== libmpeg2 === | === libmpeg2 === | ||
Unzip the libmpeg2 archive into a folder | Unzip the libmpeg2 archive into a folder, open MSYS, go to the libmpeg2 folder and issue these commands to compile and install the library: | ||
sed -i -e '/AC_C_ALWAYS_INLINE/d' -e 's/-mcpu/-mtune/' configure.ac | |||
./bootstrap | |||
./configure --disable-sdl --disable-shared --prefix=/mingw | ./configure --disable-sdl --disable-shared --prefix=/mingw | ||
make | make | ||
make install | make install | ||
=== FLAC === | === FLAC === | ||
Line 240: | Line 226: | ||
make | make | ||
make install | make install | ||
=== libpng === | === libpng === | ||
Line 246: | Line 233: | ||
./configure --disable-shared --prefix=/mingw | ./configure --disable-shared --prefix=/mingw | ||
make pnglibconf.h | |||
sed -i 's/\x0D//' pnglibconf.h | |||
make | make | ||
make install | make install | ||
Line 261: | Line 250: | ||
=== libfaad2 === | === libfaad2 === | ||
Unzip the libfaad2 archive in a folder, open MSYS, go to the libfaad2 folder and | Unzip the libfaad2 archive in a folder, open MSYS, go to the libfaad2 folder and issue these commands to compile and install the library: | ||
./configure --disable-shared --prefix=/mingw | |||
make | |||
make install | |||
=== freetype === | |||
Unzip the freetype archive in a folder, open MSYS, go to the freetype folder and issue these commands to compile and install the library: | |||
./configure --disable-shared --prefix=/mingw | |||
make | |||
make install | |||
=== fribidi === | |||
Unzip the fribidi archive in a folder, open MSYS, go to the fribidi folder and issue these commands to compile and install the library: | |||
./configure --disable-shared --prefix=/mingw | ./configure --disable-shared --prefix=/mingw | ||
make | make | ||
Line 284: | Line 274: | ||
=== | === libjpeg-turbo === | ||
Unzip the libjpeg-turbo archive in a folder, open MSYS, go to the libjpeg-turbo folder and issue these commands to compile and install the library: | |||
cmake -G "MSYS Makefiles" -DENABLE_SHARED=OFF -D-DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release . | |||
make | |||
make install | |||
=== SDL_net === | |||
Unzip the | Unzip the SDL_net archive in a folder, open MSYS, go to the SDL_net folder and issue these commands to compile and install the library: | ||
./configure --disable-shared --prefix=/mingw | ./configure --disable-shared --prefix=/mingw | ||
make | make | ||
make install | make install | ||
=== libcurl === | |||
Unzip the curl archive in a folder, open MSYS, go to the curl folder and issue these commands to compile and install the library: | |||
./configure --disable-shared --prefix=/mingw --with-winssl --disable-pthreads --disable-ldap | |||
make | |||
make install | |||
== Compiling ScummVM == | == Compiling ScummVM == |
edits