Difference between revisions of "Compiling ScummVM/MinGW"
Jump to navigation
Jump to search
Ccawley2011 (talk | contribs) |
Ccawley2011 (talk | contribs) |
||
Line 8: | Line 8: | ||
=== MinGW and MSYS === | === MinGW and MSYS === | ||
* Download and install the latest [https://osdn.net/projects/mingw/releases/ MinGW Installation Manager] (mingw-get-setup.exe) | * Download and install the latest [https://osdn.net/projects/mingw/releases/ MinGW Installation Manager] (mingw-get-setup.exe) | ||
* From the list of packages shown, check ''mingw-developer-toolkit-bin'', ''mingw32-base-bin'' and ''mingw32-gcc-g++-bin'' (right-click > Mark for Installation) | * From the list of packages shown, check ''mingw-developer-toolkit-bin'', ''mingw32-base-bin'' and ''mingw32-gcc-g++-bin'', as well as ''mingw32-libz-dev'' from the "MinGW Libraries" section (right-click > Mark for Installation) | ||
* Click the Installation > Apply Changes menu to install MinGW and MSYS | * Click the Installation > Apply Changes menu to install MinGW and MSYS | ||
* Once installation is complete, you can run MSYS from inside the MinGW directory (by default C:\MinGW\msys\1.0\msys.bat) | * Once installation is complete, you can run MSYS from inside the MinGW directory (by default C:\MinGW\msys\1.0\msys.bat) | ||
=== Libraries needed === | === Libraries needed === | ||
Line 73: | Line 33: | ||
* [http://libmpeg2.sourceforge.net/ libmpeg2] Optional, for MPEG2 cutscene support. | * [http://libmpeg2.sourceforge.net/ libmpeg2] Optional, for MPEG2 cutscene support. | ||
** You need the latest libmpeg2 source code, currently v0.5.1. | ** You need the latest libmpeg2 source code, currently v0.5.1. | ||
* [http://downloads.xiph.org/releases/theora/ libtheora]. Optional, for Broken Sword 2.5. | * [http://downloads.xiph.org/releases/theora/ libtheora]. Optional, for Broken Sword 2.5. | ||
Line 167: | Line 124: | ||
* Check that the libSDL source file src/main/win32/version.rc contains the correct version. This was incorrectly listed as v1.2.14 for the v1.2.15 release, needed an additional patch. | * Check that the libSDL source file src/main/win32/version.rc contains the correct version. This was incorrectly listed as v1.2.14 for the v1.2.15 release, needed an additional patch. | ||
* Note the README [http://www.libsdl.org/extras/win32/mingw32/README.txt here], especially the need to include the DirectX development header and libraries from [http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz here] to ensure that the "dsound" rather than the "waveout" / "winmm" fallback audio driver is used. | * Note the README [http://www.libsdl.org/extras/win32/mingw32/README.txt here], especially the need to include the DirectX development header and libraries from [http://www.libsdl.org/extras/win32/common/directx-devel.tar.gz here] to ensure that the "dsound" rather than the "waveout" / "winmm" fallback audio driver is used. | ||