271
edits
Ccawley2011 (talk | contribs) (Add instructions for building GLEW) |
Ccawley2011 (talk | contribs) |
||
Line 17: | Line 17: | ||
* [http://www.libsdl.org/download-1.2.php SDL 1.2]. | * [http://www.libsdl.org/download-1.2.php SDL 1.2]. | ||
** You need the latest SDL 1.2 source code revision from Mercurial ([https://hg.libsdl.org/SDL/archive/ | ** You need the latest SDL 1.2 source code revision from Mercurial ([https://hg.libsdl.org/SDL/archive/fa8bba1d6b13.tar.bz2 fa8bba1d6b13] at the time of writing). | ||
* [https://www.libsdl.org/projects/SDL_net/release-1.2.html SDL_net 1.2]. Optional, for network support. | * [https://www.libsdl.org/projects/SDL_net/release-1.2.html SDL_net 1.2]. Optional, for network support. | ||
Line 26: | Line 26: | ||
* [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. | ** You need the latest Win32 binary ([http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win32/ v2.15.05] at the time of writing). | ||
* [https://cmake.org/ CMake]. Optional, for compiling libjpeg-turbo. | * [https://cmake.org/ CMake]. Optional, for compiling libjpeg-turbo. | ||
Line 48: | Line 48: | ||
* [https://github.com/knik0/faad2 libfaad2]. Optional, for AAC support. | * [https://github.com/knik0/faad2 libfaad2]. Optional, for AAC support. | ||
** You need the latest libfaad2 source code ([https://github.com/knik0/faad2/releases/tag/ | ** You need the latest libfaad2 source code ([https://github.com/knik0/faad2/releases/tag/2_10_0 v2.10.0] at the time of writing). | ||
* [http://www.libpng.org/pub/png/libpng.html libpng]. Optional, for PNG support. | * [http://www.libpng.org/pub/png/libpng.html libpng]. Optional, for PNG support. | ||
Line 54: | Line 54: | ||
* [http://download.savannah.gnu.org/releases/freetype/ freetype]. Optional, for TTF support. | * [http://download.savannah.gnu.org/releases/freetype/ freetype]. Optional, for TTF support. | ||
** You need the latest freetype source code ([http://download.savannah.gnu.org/releases/freetype/freetype-2.10. | ** You need the latest freetype source code ([http://download.savannah.gnu.org/releases/freetype/freetype-2.10.4.tar.xz v2.10.4] at the time of writing). | ||
* [http://www.fluidsynth.org/ fluidsynth]. Optional, for soundfont MIDI support. | * [http://www.fluidsynth.org/ fluidsynth]. Optional, for soundfont MIDI support. | ||
Line 63: | Line 63: | ||
* [https://libjpeg-turbo.org/ libjpeg-turbo]. Optional, for JPEG support. | * [https://libjpeg-turbo.org/ libjpeg-turbo]. Optional, for JPEG support. | ||
** You need the latest libjpeg-turbo source code ([https://sourceforge.net/projects/libjpeg-turbo/files/2.0. | ** You need the latest libjpeg-turbo source code ([https://sourceforge.net/projects/libjpeg-turbo/files/2.0.6/libjpeg-turbo-2.0.6.tar.gz/download v2.0.6] at the time of writing). | ||
* [http://liba52.sourceforge.net/ liba52]. Optional, for AC-3 support. | * [http://liba52.sourceforge.net/ liba52]. Optional, for AC-3 support. | ||
Line 69: | Line 69: | ||
* [https://curl.haxx.se/ libcurl]. Optional, for cloud support. | * [https://curl.haxx.se/ libcurl]. Optional, for cloud support. | ||
** You need the latest libcurl source code ([https://curl.haxx.se/download/curl-7. | ** You need the latest libcurl source code ([https://curl.haxx.se/download/curl-7.74.0.tar.xz 7.74.0] at the time of writing). | ||
* [http://glew.sourceforge.net GLEW]. Optional, for hardware acceleration in 3D games. | * [http://glew.sourceforge.net GLEW]. Optional, for hardware acceleration in 3D games. | ||
Line 172: | Line 172: | ||
=== libmad === | === libmad === | ||
Unzip the libmad archive in a folder, open MSYS | Unzip the libmad archive in a folder, open MSYS and 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 305: | Line 305: | ||
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: | 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 -DCMAKE_INSTALL_PREFIX= | cmake -G "MSYS Makefiles" -DENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=/mingw -DCMAKE_BUILD_TYPE=Release . | ||
make | make | ||
make install | make install |
edits